gengine icon indicating copy to clipboard operation
gengine copied to clipboard

publish some benchmark reports?

Open jack1582 opened this issue 3 years ago • 2 comments

Do you have some benchmarks with other projects in the industry?

Such as gopherlua, tengo, goja, etc.

jack1582 avatar Dec 09 '20 02:12 jack1582

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 .

rencalo770 avatar Dec 09 '20 04:12 rencalo770

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.

rencalo770 avatar Dec 11 '20 09:12 rencalo770