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

chore: add profiler for performance analysis #1714

Merged
merged 2 commits into from
Mar 19, 2020
Merged

chore: add profiler for performance analysis #1714

merged 2 commits into from
Mar 19, 2020

Conversation

edvald
Copy link
Collaborator

@edvald edvald commented Mar 19, 2020

What this PR does / why we need it:

Adding some tooling to analyze how long specific parts of our code take
to complete. A summary is printed at the end of unit and integ test
runs, which should help us where we can make optimizations.

Note that the syntax for wrapping/profiling individual functions is
slightly odd, simply because there isn't any native support for
function decorators in JS. Other ideas are welcome, but I think this
is fine for now.

Adding some tooling to analyze how long specific parts of our code take
to complete. A summary is printed at the end of unit and integ test
runs, which should help us where we can make optimizations.

Note that the syntax for wrapping/profiling individual functions is
slightly odd, simply because there isn't any native support for
function decorators in JS. Other ideas are welcome, but I think this
is fine for now.
@edvald edvald merged commit f99b546 into master Mar 19, 2020
@edvald edvald deleted the profiling branch March 19, 2020 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants