-
Notifications
You must be signed in to change notification settings - Fork 0
Performance
Donat Müller edited this page Jul 19, 2015
·
4 revisions
Run the test class "org.oss.performance.PerformanceTest" to see how JSHuntingYard perform against JEval. There is a significant difference in the speed.
- JSHuntingYard doesn't calculate the number of parameters etc.
- JSHuntingYard has less string handling.
- JSHuntingYard avoids running through the parsing and evaluation more then one time.
- JEval with parsing and evaluation together, time elapsed within 780 ms
- JSHuntingYard with parsing and evaluation together, time elapsed within 399 ms
- JEval evaluation without parsing, time elapsed within 432 ms
- JSHuntingYard evaluation without parsing, time elapsed within 97 ms
- Java - reference time mesurement byte code , time elapsed within 13 ms