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

Use vendored performance API to handle timing on WASM #3318

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Sep 6, 2024

  1. Use vendored performance API to handle timing on WASM

    Before that this used wasm_timer, but only for Instant::now. But that paniced on web_workers, because it got there by going over the window, which isnt present in web workers.
    
    This still doesn't work on all browsers though, thus I added an assertion against usage on web-workers.
    9SMTM6 committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    fe148f2 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. actually warn on web workers

    9SMTM6 committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    c9974b4 View commit details
    Browse the repository at this point in the history
  2. Fixing build on stable

    9SMTM6 committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    7e9f6f9 View commit details
    Browse the repository at this point in the history
  3. Remove dead code

    9SMTM6 committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    817b928 View commit details
    Browse the repository at this point in the history