Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

publish some benchmark reports? #18

Open
jack1582 opened this issue Dec 9, 2020 · 2 comments
Open

publish some benchmark reports? #18

jack1582 opened this issue Dec 9, 2020 · 2 comments
Labels
good first issue Good for newcomers

Comments

@jack1582
Copy link

jack1582 commented Dec 9, 2020

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

Such as gopherlua, tengo, goja, etc.

@rencalo770
Copy link
Owner

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
Copy link
Owner

rencalo770 commented Dec 11, 2020

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 rencalo770 added the good first issue Good for newcomers label Dec 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants