-
Notifications
You must be signed in to change notification settings - Fork 557
feat(profiling): Convert profile output to the sample format #1611
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
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
dcc55bd
feat(profiling): Convert profile output to the sample format
phacops 3aeb1bf
Lint code
phacops aa11361
Optimize stack lookups
phacops f40cab8
Use a tuple instead of list so we can use it as a key to a dict
phacops 74c5626
Merge branch 'master' into pierre/profiling-convert-to-sample-format
phacops 80b3e53
Fix a type and a variable initialization misplaced
phacops 5426c5b
Record the thread_id on which the transaction was started
phacops 9dbce16
Fix relative start/end of the transaction
phacops e627109
Calculate more accurate times depending on Python versions
phacops 359c337
Format code
phacops 006f0aa
Use a more compatible way to get the identifier
phacops 894b939
Disable profiling for Python < 3.3
phacops b41508e
Use time.perf_counter_ns() when appropriate
phacops 21fa1e7
Add a comment to indicate where thread_id is used
phacops 6cf951e
Check first if profiling is enabled by the user because showing a war…
phacops 173eace
Move the warning to the setup method
phacops 15ec738
Disable profiling tests for Python < 3.3
phacops f94b1ac
Rename timestamp field to match format change
phacops 527b388
Merge branch 'master' into pierre/profiling-convert-to-sample-format
phacops 9f03a2d
Remove the file that shouldn't be
phacops 415d330
Fix a key name
phacops d7cb75a
Fix timestamp calculation
phacops b4bded8
Lint code
phacops c03d3f3
Fix transaction relative start time
phacops a7516e3
Fix relative_end_ns as well
phacops 5745c24
Revert _start_timestamp_monotonic change since we're not using it any…
phacops 100bc08
Use the duration of the profile since we end the transaction after th…
phacops File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.