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

[DO NOT MERGE] Emit debugging info for visualiser to use #199

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from

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/

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