Compiler
Inherits from: Object
Class Methods
primitives
class captureCallStack
class compileMethod:
class evaluate:
class evaluate:in:
class evaluate:withLocals:
class fileIn:
class fileInAll:
class fileOut:to:
class fileOutNamespace:to:
class getGlobal:
class isProfiling
Return true if the wall-clock sampling profiler is currently running.
class saveImage:
class saveImageAtomic:
class setGlobal:to:
class startProfiling
Start the wall-clock sampling profiler at 1000 Hz (1ms interval).
Samples interpreter call stacks periodically and aggregates them
for flamegraph-compatible output. Stop with Compiler stopProfiling.
class startProfiling:
Start the wall-clock sampling profiler at the given rate (in Hz).
For example, Compiler startProfiling: 500 samples 500 times per second.
Stop with Compiler stopProfiling.
class stopProfiling
Stop the wall-clock sampling profiler and return the collected profile data as a folded-stack string. The format is compatible with flamegraph.pl and speedscope. Returns nil if no profiler was running.
class updateMethodInFile:selector:source:
uncategorized
class forClass:
class new
Instance Methods
uncategorized
buildExpressionMethod:
buildMethod:generator:
compile:
compileClass:
compileClassNode:
compileExpression:
compileSourceFile:
compileTraitInfo:
initialize
initializeForClass:
printString