Go Script Lang Benchmark

Go Script Lang Benchmark

git clone github.com/akkuman/go_script_lang_benchmark
cd go_script_lang_benchmark
go test -benchmem -benchtime 20s -bench .

Benchmark

Windows

  • Windows10 21H1
  • go version go1.17.5 windows/amd64
goos: windows
goarch: amd64
pkg: github.com/akkuman/go_script_lang_benchmark
cpu: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
Benchmark_glua_Add_single_ctx-12                    6070           3987641 ns/op         2205896 B/op       8616 allocs/op
Benchmark_starlark_Add_single_ctx-12                1616          14836361 ns/op         6331483 B/op     316324 allocs/op
Benchmark_yaegi_Add_single_ctx-12                   7512           3127616 ns/op              24 B/op          2 allocs/op
Benchmark_go_Add-12                              1000000             21776 ns/op               0 B/op          0 allocs/op
Benchmark_glua_Add_multi_ctx-12                       60         400304143 ns/op       220766320 B/op    862445 allocs/op
Benchmark_starlark_Add_multi_ctx-12                   15        1462908447 ns/op       633148154 B/op  31632452 allocs/op
Benchmark_yaegi_Add_multi_ctx-12                      75         308568796 ns/op           26924 B/op        455 allocs/op
Benchmark_starlark_fib_single_ctx-12                2980           8041286 ns/op         2276678 B/op      54728 allocs/op
Benchmark_yaegi_fib_single_ctx-12                   2059          12162389 ns/op         9229806 B/op     208115 allocs/op
Benchmark_go_fib-12                               829292             29116 ns/op               0 B/op          0 allocs/op
Benchmark_starlark_fib_multi_ctx-12                 2989           8049483 ns/op         2278558 B/op      54755 allocs/op
Benchmark_glua_fib_multi_ctx-12                     6823           3107600 ns/op          181784 B/op        781 allocs/op
Benchmark_yaegi_fib_multi_ctx-12                    2089          12202257 ns/op         9247725 B/op     208214 allocs/op
PASS
ok      github.com/akkuman/go_script_lang_benchmark     316.026s

Linux

  • Ubuntu 18.04.4 LTS
  • go version go1.17.6 linux/amd64
goos: linux
goarch: amd64
pkg: github.com/akkuman/go_script_lang_benchmark
cpu: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
Benchmark_glua_Add_single_ctx-6             5420           4713832 ns/op         2205903 B/op       8616 allocs/op
Benchmark_starlark_Add_single_ctx-6         2320          10166468 ns/op         3387441 B/op     132323 allocs/op
Benchmark_yaegi_Add_single_ctx-6            7185           3293777 ns/op              24 B/op          2 allocs/op
Benchmark_go_Add-6                        512067             46732 ns/op               0 B/op          0 allocs/op
Benchmark_glua_Add_multi_ctx-6                48         466571296 ns/op       220765344 B/op    862434 allocs/op
Benchmark_starlark_Add_multi_ctx-6            24        1000723251 ns/op       338744804 B/op  13232330 allocs/op
Benchmark_yaegi_Add_multi_ctx-6               70         329575685 ns/op           25535 B/op        444 allocs/op
Benchmark_starlark_fib_single_ctx-6         3375           7049034 ns/op         1751301 B/op      21892 allocs/op
Benchmark_yaegi_fib_single_ctx-6            1388          18160846 ns/op         9219985 B/op     208115 allocs/op
Benchmark_go_fib-6                        744727             30648 ns/op               0 B/op          0 allocs/op
Benchmark_starlark_fib_multi_ctx-6          3370           7073438 ns/op         1753182 B/op      21919 allocs/op
Benchmark_glua_fib_multi_ctx-6              7570           3180979 ns/op          180410 B/op        771 allocs/op
Benchmark_yaegi_fib_multi_ctx-6             1221          17804050 ns/op         9233767 B/op     208202 allocs/op
PASS
ok      github.com/akkuman/go_script_lang_benchmark        317.636s
Similar Resources

Benchmark - Benchmark of logr implementations

Benchmark of logr implementations Implementations a function (can bridge to non-

Nov 6, 2022

based on go lang build WEB development framework for go lang beginners .

based on go lang build WEB development framework for go lang beginners .

Oct 31, 2021

Go benchmark harness.

autobench autobench is a framework to compare the performance of Go 1.2 and Go 1.3. usage autobench downloads and builds the latest Go 1.1 and Go tip

Oct 19, 2022

Go HTTP request router and web framework benchmark

Go HTTP Router Benchmark This benchmark suite aims to compare the performance of HTTP request routers for Go by implementing the routing structure of

Dec 27, 2022

:zap: Go web framework benchmark

:zap: Go web framework benchmark

go-web-framework-benchmark This benchmark suite aims to compare the performance of Go web frameworks. It is inspired by Go HTTP Router Benchmark but t

Dec 28, 2022

Key/Value database benchmark

USAGE: kvbench OPTIONS OVERVIEW kvbench is a simple benchmarking tool to evaluate the read performance of a key/value store while writes are being app

Sep 27, 2022

A rapid http(s) benchmark tool written in Go

A rapid http(s) benchmark tool written in Go

gonetx/httpit httpit is a rapid http(s) benchmark tool which on top of fasthttp. Also thanks to cobra and bubbletea. Installation Get binaries from re

Dec 23, 2022

Cache benchmark for Golang

Cache benchmark for Golang

Cache comparison benchmark for Go This benchmark compares cache algorithms using scrambled zipfian distribution (a few occur very often while many oth

Dec 26, 2022

:zap: Go web framework benchmark

:zap: Go web framework benchmark

go-web-framework-benchmark This benchmark suite aims to compare the performance of Go web frameworks. It is inspired by Go HTTP Router Benchmark but t

Dec 31, 2022

A CLI to turn Go's benchmark output into pictures

benchdraw benchdraw allows you to make easy to read picture plots from data in Go's benchmark format, implemented in pure Go. Benchdraw does not try t

Nov 28, 2022

Continuous Benchmark for Go Project

Continuous Benchmark for Go Project

Abstract cob compares benchmarks between the latest commit (HEAD) and the previous commit (HEAD{@1}). The program will fail if the change in score is

Dec 13, 2022

Redis Sorted Sets Benchmark

redis-zbench-go Redis Sorted Sets Benchmark Overview This repo contains code to trigger load ( ZADD ) or query (ZRANGEBYLEX key min max) benchmarks, w

May 18, 2021

Open Source runtime scanner for Linux containers (LXD), It performs security audit checks based on CIS Linux containers Benchmark specification

Open Source runtime scanner for Linux containers (LXD), It performs security audit checks based on CIS Linux containers  Benchmark specification

lxd-probe Scan your Linux container runtime !! Lxd-Probe is an open source audit scanner who perform audit check on a linux container manager and outp

Dec 26, 2022

Test and benchmark KPHP code

Test and benchmark KPHP code

Overview ktest is a tool that makes kphp programs easier to test. ktest phpunit can run PHPUnit tests using KPHP ktest bench run benchmarks using KPHP

Dec 14, 2022

Open Source runtime scanner for OpenShift cluster and perform security audit checks based on CIS RedHat OpenShift Benchmark specification

Open Source runtime scanner for OpenShift cluster and perform security audit checks based on CIS RedHat OpenShift Benchmark specification

OpenShift-Ordeal Scan your Openshift cluster !! OpenShift-Ordeal is an open source audit scanner who perform audit check on OpenShift Cluster and outp

Sep 6, 2022

This benchmark provides a overview of the different SQLite driver performances available in Go.

SQLite/HTTP Server Performance Benchmark This benchmark provides a overview of the different SQLite driver performances available in Go. For benchmark

Aug 8, 2022

A benchmark suite aims to compare the performance of HTTP request routers for Go

Go HTTP Router Benchmark This benchmark suite aims to compare the performance of HTTP request routers for Go by implementing the routing structure of

Oct 25, 2021

Go http server benchmark

Go http server benchmark

go-http-server-benchmark The more connections, nbio cost the less memory, and performance the better than other frameworks. We can serve for 1000k or

Sep 1, 2022

An HTTP request routing benchmark suite for Go.

Go HTTP Request Routing Benchmark An HTTP request routing benchmark suite for Go. Results goos: linux goarch: amd64 pkg: github.com/aofei/go-http-requ

Dec 14, 2021
Go HTTP request router and web framework benchmark

Go HTTP Router Benchmark This benchmark suite aims to compare the performance of HTTP request routers for Go by implementing the routing structure of

Dec 27, 2022
:zap: Go web framework benchmark
:zap: Go web framework benchmark

go-web-framework-benchmark This benchmark suite aims to compare the performance of Go web frameworks. It is inspired by Go HTTP Router Benchmark but t

Dec 28, 2022
Key/Value database benchmark

USAGE: kvbench OPTIONS OVERVIEW kvbench is a simple benchmarking tool to evaluate the read performance of a key/value store while writes are being app

Sep 27, 2022
A rapid http(s) benchmark tool written in Go
A rapid http(s) benchmark tool written in Go

gonetx/httpit httpit is a rapid http(s) benchmark tool which on top of fasthttp. Also thanks to cobra and bubbletea. Installation Get binaries from re

Dec 23, 2022
Cache benchmark for Golang
Cache benchmark for Golang

Cache comparison benchmark for Go This benchmark compares cache algorithms using scrambled zipfian distribution (a few occur very often while many oth

Dec 26, 2022
Go http server benchmark
Go http server benchmark

go-http-server-benchmark The more connections, nbio cost the less memory, and performance the better than other frameworks. We can serve for 1000k or

Sep 1, 2022
Golang json encoders\decoders benchmark

Json encoder and decoder benchmark Test Encode for: Build-in encoder https://github.com/mailru/easyjson https://github.com/json-iterator/go Test Decod

Dec 3, 2021
Redis-benchmark - Simple get, mget and pipelined get benchmark.

redis-benchmark Simple get, mget and pipelined get benchmark. Usage git clone https://github.com/Ali-A-A/redis-benchmark.git cd ./redis-benchmark dock

Dec 31, 2021
Bxd redis benchmark - Redis benchmark tool for golang

使用 redis benchmark 工具, 测试 10 20 50 100 200 1k 5k 字节 value 大小,redis get set 性能。 r

Jan 22, 2022
Go-driver-benchmark - Driver benchmark with golang

We use ClickkHouse for time-series databases, and the driver's performance is ve

Sep 5, 2022