chakra-core / chakra-core/ChakraCore

Add ETW for diagnosing parse time of scripts

Open
#2,312 2 comments 1 reaction 0 assignees View on GitHub
Performance
Dominant language
JavaScript
Stars
9.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Today, it is possible to diagnose the execution time of scripts but understanding which scripts are contributing to Parse/ByteCodeGen/JIT CPU costs can be difficult and requires correlation with other events.

It would be ideal if there were Events in Chakra that allows Parse/ByteCodeGen code to be timed and associated with a "user-friendly string" identifier for the script that is being acted upon.
(Perfect is the enemy of good and I'd rather have something functional and imperfect than something perfect for diagnosis here. :-))

@nolanlawson so he is aware.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.