An efficient instrumentation and profiling framework for Graal.js.
Get the mx build tool:
git clone https://github.com/graalvm/mx.git
Download and set the JAVA_HOME to the given JDK needed for building:
wget https://github.com/graalvm/openjdk8-jvmci-builder/releases/download/jvmci-0.46/openjdk-8u172-jvmci-0.46-linux-amd64.tar.gz
tar xvf openjdk-8u172-jvmci-0.46-linux-amd64.tar.gz
export JAVA_HOME=PATH_TO_THIS_JDK
Get dependent projects and build:
mkdir workspace-nodeprof
cd workspace-nodeprof
git clone https://github.com/Haiyang-Sun/nodeprof.js.git
cd nodeprof.js
mx sforceimports
mx build
Run tests:
mx test-all
Detailed explanation can be found in the Tutorial;
The goals of NodeProf are:
NodeProf is available under the following license:
Thanks to Daniele Bonetta, Alexander Jordan, and Christian Humer from Oracle Labs for the help during the implementation.
$ claude mcp add nodeprof.js \
-- python -m otcore.mcp_server <graph>