Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

133 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoEmbed

alt text Go Report Card Build Status Coverage Status

A helper repository for testing various languages that can be embedded in golang, in a sandboxed environment. Contains some tests and benchmarking codes, to compare the performance with python3.

Examples on using lua package to load and run a lua script can be found in examples_test.go.

scripts/lua contains lua test scripts that are loaded using the gopher-lua package, and run for benchmarking, using go test. scripts/tengo contains tengo test scripts that are loaded using the tengo package, and run for benchmarking, using go test. scripts/python contains python test scripts that perform identical work to the respective lua script. pytest module was used for testing and benchmarking the python scripts.

tests/.benchmark contains the result of benchmarking. Any file in .benchmark/Windows-CPython-3.7-64bit contains the detail info on the machine, on which the benchmarks were run.

Following Programs are used for benchmarking purposes:

  • Fibonacci Series
  • String Concatenation
  • NBody Simulation
  • Binary Tree

About

A helper repository for testing various languages that can be embedded in golang, in a sandboxed environment.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages