Skip to content

Conversation

@ospira
Copy link
Contributor

@ospira ospira commented Oct 12, 2025

things to finish:

  • better html layout (UI should highlight deopts, better block formatting, progressive display of content, flag structures that change v8 map for the same run - like during pnpm run micro arrays/deopt.js)
  • mitata json format parser - for feature parity w the CLI output

things to note:

the thought process for this is what we really want to flag here is deopts. we could wait for the function to manually become hot and stable, but we wouldn't necessarily know when this would happen. and it doesn't seem like --trace-opt gives detailed output anyway - most of the logs from that will just give you the memory address and the only "reason" given is the function is now "hot & stable". i could have the html handle present these in a useful way - or at least a way that wasn't annoying - but really they are not that meaningful imo compared to a deopt.

  • a second pass of the HTML could do things like request more context from the logFile - like get bytecode. the json format outputted by mitata is extremely verbose. i have a wip parser for this as well (things to finish ✨ core: create AoS trait stores #2). currently the mitata runner is set to output using the markdown format option - which is really just a placeholder. The JSON parser will aim to have feature parity with mitata's format for CLI output.

@ospira ospira changed the base branch from feat/command-buffer to main October 23, 2025 03:35
@ospira ospira changed the title [DRAFT] lab api wip [Updated Draft] Lab Oct 23, 2025
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

Successfully merging this pull request may close these issues.

1 participant