A benchmark that measures the time taken to parse a module's source code.
The number of benchmark iterations to run.
The approximate time to spend on each benchmark iteration.
This value indirectly controls the number of repetitions per iteration.
Whether to report detailed results such as BenchmarkResult.samples.
BenchmarkResult.samples
The module source code to parse.
The effective URI of sourceText.
sourceText
If sourceText contains relative imports, set sourceUri so that these imports may be resolved.
sourceUri
Returns the class of this.
this
Returns a string representation of this.
This method is used to convert the values of string interpolation expressions to strings.
Returns this |> transform if this is non-null, and null otherwise.
this |> transform
null
This method is the complement of the ?? operator and the equivalent of an Option type's map and flatMap methods.
??
Option
map
flatMap
Tells if this object has a property with the given name.
name
Returns the value of the property with the given name.
Throws if a property with this name does not exist.
Returns null if a property with this name does not exist.
Converts this object to a Dynamic object.
Dynamic
Converts this object to a Map.
Map
Runs this benchmark. Typically not called from user code.
A benchmark that measures the time taken to parse a module's source code.