This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add timestamps to the sampling profiler
Summary: Each sample now has a timestamp associated with it, which we display along with the stack trace. Ideally, these would be spaced exactly 4ms apart, but there's some variance, so I provide tenth-of-millisecond precision. This should make it easier to cross-reference sampling results with Appstats. Test Plan: -Load the logged in homepage with sampling on. -Make sure the timestamp shows up when the stack trace does and that the number is reasonable. -Type in some invalid results and make sure the timestamp disappears whenever the stack trace does. Reviewers: ben, chris Reviewed By: ben Differential Revision: http://phabricator.khanacademy.org/D6649
- Loading branch information
Alan Pierce
committed
Feb 12, 2014
1 parent
3d2eb0b
commit d5ef89b
Showing
3 changed files
with
28 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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 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 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