-
Notifications
You must be signed in to change notification settings - Fork 516
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
Add a more useful profile guided optimization test script #1299
base: master
Are you sure you want to change the base?
Conversation
Here's some results with the current quite dummy profile test set:
Most operations are faster in the PGO version, for example But tests for functionality not covered by the profile set can be slower, for example TextEncoder/TextDecoder and Unicode handling is a bit slower. Those would be fixed by improving the profile test set. Ideally the distributable would provide a single JS file to execute for getting a reasonable PGO baseline.
|
22245b2
to
9f62e76
Compare
9f62e76
to
0e6a808
Compare
Octane is now included by the Makefile. |
The test script should exercise usual code paths for all built-ins so that the performance profiling data accurately reflects the relative frequency of most practical code paths. Current PGO test set in the Makefile is a dummy placeholder.
duktape.c
can be profile optimized with a dummy main (e.g. "duk") and the profile then used in an application build