Skip to content

Conversation

axmmisaka
Copy link
Collaborator

@axmmisaka axmmisaka commented Jul 25, 2023

How to use

Please check diff for src/benchmark/Sieve.ts. Essentially:

  1. Set globalThis.graphDebugLogger and globalThis.recording
  2. Add ()=>{globalThis.graphDebugLogger?.write("filename.json")} as App's success/fail.

Why not merge?

This PR contains ugly workarounds and tricks that breaks all the abstraction barriers which one could possibly think of.

How to see?

Use https://github.com/axmmisaka/lf-reactor-visualizer; copy-paste the emitted json to the textbox to the left, and hope that your browser don't crash.
https://axmmisaka.github.io/lf-reactor-visualizer/

@axmmisaka axmmisaka force-pushed the emit-debugging-info branch from 2a0e376 to 2700ce3 Compare August 25, 2023 01:28
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