Skip to content

Conversation

@ryantrem
Copy link
Member

This change mostly adds optional logging to trace_region, but also fixes the missing atomic include in the apple impl.

Add an option to also log
@ryantrem ryantrem requested a review from bghgary November 14, 2025 00:06
@ryantrem ryantrem merged commit c02527c into microsoft:master Nov 14, 2025
15 checks passed
ryantrem added a commit to BabylonJS/JsRuntimeHost that referenced this pull request Nov 14, 2025
This PR depends on microsoft/arcana.cpp#51

- Add a public PerfTrace API that aims to provide a platform agnostic
way of capturing perf intervals (just wraps arcana's trace_region). The
API can be used purely on the native side, but it also includes helper
functions for transferring ownership to JS, or taking ownership from JS.
This makes it easy to get perf intervals for operations that start in
native and end in JS, or vice versa.
- Also add a little more tracing to XmlHttpRequest.
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.

2 participants