pyinstrument
pyinstrument copied to clipboard
Limit sample count for the HTML renderer to ensure the browser can load the sample
The HTML doesnt work when the sample count is too high. This resamples the session when sample count is more than 100,000 so it can render.
Fix #385. Might also fix #361.
@copilot look into these test failures
@joerick I've opened a new pull request, #412, to work on those changes. Once the pull request is ready, I'll request review from you.