AsmReport

class AsmReport

What the engine did with one function whose body starts with "use asm".

Such a function is compiled ahead of time to typed code, which is much faster than running it as ordinary JavaScript. Compiling can decline, and so can the linking that happens when the module is called. Either way the module still runs and still gives the same answers, so this is only for finding out why one is slower than expected.

Properties

Link copied to clipboard

True when the module compiled to typed code.

Link copied to clipboard

True when the last call to the module could use that code.

Link copied to clipboard

The module function's name, or an empty string when it has none.

Link copied to clipboard

Why it did not, in one sentence. Empty when everything worked.

Functions

Link copied to clipboard
open override fun toString(): String