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
Safari web worker shows incorrect steady_clock values #4929
Comments
Hmm, this could be a safari bug? I don't have a mac to test, but that's what I'd guess. Might be best to reduce this to a small testcase using the relevant APIs and file a bug for WebKit. |
Possibly. But |
High resolution clock(Performance.now) is not supported in Safari and Edge WebWorker. See the thread: |
Is this an emscripten bug? (using the wrong time source) |
This issue has been automatically marked as stale because there has been no activity in the past 2 years. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant. |
steady_clock prints incorrect values in safari. chrono::system_clock does not have this issue.
Safari (wrong)
Chrome / Firefox:
---Code Below---
build with:
em++ -std=c++11 --pre-js pre.js -O3 simpleEm.cpp
emscripten 1.37.1
OS X 10.11.6
Safari 9.1.3
The text was updated successfully, but these errors were encountered: