gengine
gengine copied to clipboard
publish some benchmark reports?
Do you have some benchmarks with other projects in the industry?
Such as gopherlua, tengo, goja, etc.
Thanks for your issue very much!
To publish some benchmark between gengine and gopherlua, tengo, goja and so on is a good idea! In future will finish it.
In early project, we use javascript on golang( a framework named otto can do this) or gopherlua to config rules to meet our need of dynamic load rules into running project.
js/lua on golang kept the flexibility of js/lua, but no matter who will develop rules or modules has to study js or lua additionally, and we have to keep an eye on double logic of golang and lua/js, it makes hard to test and logic migration from js/lua to golang.
When we use gengine, we just use golang to develop our business logic modularly, and then inject pointer to gengine to use it, if we don't want to use gengine any more, we hardly need to make any changes to migration. gengine focus on rules execute mode to fit different business scene, dynamic load function is additional function just for the main grammar is same with golang.
And we hope users could choose the most suitable framework to develop their business sincerely, not only gengine, but also js/lua on golang, tengo, goja and so on .
Hi, in these day, we compared the performance between gopher-lua and gengine, you could get result from this: https://rencalo770.github.io/gengine_doc/#/compare and also, you can get the test code in it.