Crate boa_profiler

source ·
Expand description

The boa_profiler crate is a code profiler for Boa.

Crate Overview

This crate provides a code profiler for Boa. For more information, please see Boa’s page on profiling.

About Boa

Boa is an open-source, experimental ECMAScript Engine written in Rust for lexing, parsing and executing ECMAScript/JavaScript. Currently, Boa supports some of the language. More information can be viewed at Boa’s website.

Try out the most recent release with Boa’s live demo playground.

Boa Crates


  • Profiler for the Boa JavaScript engine.


    This static instance must never be public, and its only access must be done through the global() and drop() methods. This is because get_or_init manages synchronization and the case of an empty value.