feat(benchpress): initial support for firefox#2419
feat(benchpress): initial support for firefox#2419hankduan wants to merge 2 commits intoangular:masterfrom
Conversation
hankduan
commented
Jun 8, 2015
There was a problem hiding this comment.
Can we read the perf profile without writing it to a file?
There was a problem hiding this comment.
This functionality should all go into a FirefoxDriverExtension, similar to ChromeDriverExtension. However, for this you should change the firefox extension to:
- report the profile data without writing it to a file (i.e. directly as result of the JS call).
- separate stopping the profiler from reading the profile, as Benchpress will read the profile multiple times (after every iteration and maybe later even in between). I.e. the profile would be started when benchpress creates the
FirefoxDriverExtensionand not stopped until benchpress is done (or maybe actually never stopped, this is the behavior in Chrome...)
547b210 to
4f78096
Compare
|
All comments addressed. PTAL @tbosch |
4f78096 to
647bc42
Compare
There was a problem hiding this comment.
Hank,
the mapping of a FF event to an event that we use in benchpress should not be done in the Firefox extension. The idea is to keep the firefox extension as stable as possible.
Please move the code for EventRecord.categorizeEvent into a new class FirefoxWebdriverExtension, similar and next to ChromeWebDriverExtension.
2c0f736 to
27c33be
Compare
|
PTAL |
27c33be to
3b85768
Compare
There was a problem hiding this comment.
Do we still need this? I thought we are not storing the profile in files any more...
There was a problem hiding this comment.
We don't. I kept it there since it's super useful for debugging purposes.
|
And the PR title / commit message seems off. |
20a00b5 to
14dae28
Compare
5aac62c to
36c81ec
Compare
scripts/ci/test_e2e_js.sh
Outdated
36c81ec to
cadeb46
Compare
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |