Giter Club home page Giter Club logo

Comments (12)

jlfwong avatar jlfwong commented on May 24, 2024

Hi @undercover87! Can you please provide a specific test file and open the developer tools console and see if there are errors there?

from speedscope.

undercover87 avatar undercover87 commented on May 24, 2024

Hello ,
well I said that is works when I add a json extension and it did work for one of the files, but it did not work on another. This is the console output
`
speedscope v1.16.0 speedscope.f27db165.js:187:123
WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER. speedscope.f27db165.js:14:8659
WebGL initialized. renderer: llvmpipe, vendor: Mesa/X.org, version: WebGL 1.0 speedscope.f27db165.js:30:1142
Source map error: Error: request failed with status 404
Resource URL: https://www.speedscope.app/speedscope.f27db165.js
Source Map URL: speedscope.f27db165.js.map

Source map error: Error: request failed with status 404
Resource URL: https://www.speedscope.app/reset.8c46b7a1.css
Source Map URL: reset.8c46b7a1.css.map

Uncaught Error: Expected reader.result to be an instance of ArrayBuffer
t https://www.speedscope.app/import.8ae8aa3d.js:42
t https://www.speedscope.app/import.8ae8aa3d.js:42
fromFile https://www.speedscope.app/import.8ae8aa3d.js:42
x https://www.speedscope.app/import.8ae8aa3d.js:121
F https://www.speedscope.app/import.8ae8aa3d.js:121
F https://www.speedscope.app/import.8ae8aa3d.js:121
x https://www.speedscope.app/import.8ae8aa3d.js:121
w https://www.speedscope.app/speedscope.f27db165.js:183
n https://www.speedscope.app/speedscope.f27db165.js:183
promise callbackl https://www.speedscope.app/speedscope.f27db165.js:183
m https://www.speedscope.app/speedscope.f27db165.js:183
m https://www.speedscope.app/speedscope.f27db165.js:183
w https://www.speedscope.app/speedscope.f27db165.js:183
loadFromFile https://www.speedscope.app/speedscope.f27db165.js:183
m https://www.speedscope.app/speedscope.f27db165.js:183
m https://www.speedscope.app/speedscope.f27db165.js:183
loadFromFile https://www.speedscope.app/speedscope.f27db165.js:183
loadProfile https://www.speedscope.app/speedscope.f27db165.js:183
n https://www.speedscope.app/speedscope.f27db165.js:183
promise callback
l https://www.speedscope.app/speedscope.f27db165.js:183
m https://www.speedscope.app/speedscope.f27db165.js:183
m https://www.speedscope.app/speedscope.f27db165.js:183
loadProfile https://www.speedscope.app/speedscope.f27db165.js:183
loadFromFile https://www.speedscope.app/speedscope.f27db165.js:183
onFileSelect https://www.speedscope.app/speedscope.f27db165.js:183
E https://www.speedscope.app/speedscope.f27db165.js:2
import.8ae8aa3d.js:42:3912
t https://www.speedscope.app/import.8ae8aa3d.js:42
(Async: EventListener.handleEvent)
t https://www.speedscope.app/import.8ae8aa3d.js:42
fromFile https://www.speedscope.app/import.8ae8aa3d.js:42
x https://www.speedscope.app/import.8ae8aa3d.js:121
next self-hosted:1376
F https://www.speedscope.app/import.8ae8aa3d.js:121
F https://www.speedscope.app/import.8ae8aa3d.js:121
x https://www.speedscope.app/import.8ae8aa3d.js:121
w https://www.speedscope.app/speedscope.f27db165.js:183
next self-hosted:1376
n https://www.speedscope.app/speedscope.f27db165.js:183
(Async: promise callback)
l https://www.speedscope.app/speedscope.f27db165.js:183
m https://www.speedscope.app/speedscope.f27db165.js:183
m https://www.speedscope.app/speedscope.f27db165.js:183
w https://www.speedscope.app/speedscope.f27db165.js:183
loadFromFile https://www.speedscope.app/speedscope.f27db165.js:183
next self-hosted:1376
m https://www.speedscope.app/speedscope.f27db165.js:183
m https://www.speedscope.app/speedscope.f27db165.js:183
loadFromFile https://www.speedscope.app/speedscope.f27db165.js:183
loadProfile https://www.speedscope.app/speedscope.f27db165.js:183
next self-hosted:1376
n https://www.speedscope.app/speedscope.f27db165.js:183
(Async: promise callback)
l https://www.speedscope.app/speedscope.f27db165.js:183
m https://www.speedscope.app/speedscope.f27db165.js:183
m https://www.speedscope.app/speedscope.f27db165.js:183
loadProfile https://www.speedscope.app/speedscope.f27db165.js:183
loadFromFile https://www.speedscope.app/speedscope.f27db165.js:183
onFileSelect https://www.speedscope.app/speedscope.f27db165.js:183
E https://www.speedscope.app/speedscope.f27db165.js:2
Source map error: Error: request failed with status 404
Resource URL: https://www.speedscope.app/import.8ae8aa3d.js
Source Map URL: import.8ae8aa3d.js.map
`

from speedscope.

jlfwong avatar jlfwong commented on May 24, 2024

Thanks for providing the stack trace! That's helpful, but still very difficult to debug without an actual test file that failed import.

Can you please upload the profile that's failing to import?

The other thing that would be helpful to know is where the file came from. Was it an export from speedscope itself, or did it come from another tool that was output in speedscope format?

from speedscope.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.