-
Notifications
You must be signed in to change notification settings - Fork 3
Initial benchmarks #1
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, Divy!
Execute(ctx, "octane/zlib-data.js", JS_EVAL_TYPE_GLOBAL); | ||
Execute(ctx, "octane/typescript.js", JS_EVAL_TYPE_GLOBAL); | ||
Execute(ctx, "octane/typescript-input.js", JS_EVAL_TYPE_GLOBAL); | ||
Execute(ctx, "octane/typescript-compiler.js", JS_EVAL_TYPE_GLOBAL); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would maybe run these in their own contexts because then there's no risk of one benchmark clobbering another (because they all pollute the global scope like mad.)
On the other hand, V8 didn't do that either so 🤷
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Each benchmark registers itself to the BenchmarkSuite
global so it needs to be in the same context.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments. Generally LGTM we could iterate on it. I suppose we'll want to add JSON output maybe, so we could store the results and graph them over time / release?
little bump, anything else left for this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay, Divy. LGTM and thanks!
No description provided.