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

unable to load the json file and getting error for files size above 172 KB #471

Open
vickymore2003 opened this issue Mar 20, 2024 · 1 comment

Comments

@vickymore2003
Copy link

I have a file with 172 KB(this is the smallest file as of now i tested with 123Kb its working fine).

While uploading i m getting below error in console.

😿 Something went wrong.
Check the JS console for more details.

Failed to load format Error: Samples must be provided in increasing order of cumulative value. Last sample was 87005, this sample was 87004
at h._enterFrame (speedscope.80eb88d2.js:165:7141)
at h.enterFrame (speedscope.80eb88d2.js:165:7512)
at speedscope.80eb88d2.js:171:1675
at a (speedscope.80eb88d2.js:171:1800)
at speedscope.80eb88d2.js:171:2361
at Array.map ()
at s (speedscope.80eb88d2.js:171:2354)
at import.7f8cb9f9.js:121:3665
at Generator.next ()
at s (import.7f8cb9f9.js:121:780)

@jlfwong
Copy link
Owner

jlfwong commented Mar 20, 2024

Hi @vickymore2003! Can you provide more information about where these profiles are coming from? e.g. what language are you profiling, what profiler are you using, etc?

Speedscope certainly supports files larger than this (folks have successfully imported profiles larger than 1GB), and the error described in the stack trace you provided is about the content of the file, not the size of the file.

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

No branches or pull requests

2 participants