trace.profiler.output
Firefox Profiler integration
@[reducible, inline]
Equations
Instances For
Equations
- Lean.Firefox.instFromJsonCategory = { fromJson? := Lean.Firefox.fromJsonCategory✝ }
Equations
- Lean.Firefox.instToJsonCategory = { toJson := Lean.Firefox.toJsonCategory✝ }
- interval : Lean.Firefox.Milliseconds
- startTime : Lean.Firefox.Milliseconds
- categories : Array Lean.Firefox.Category
- processType : Nat
- product : String
- preprocessedProfileVersion : Nat
Instances For
Equations
- Lean.Firefox.instFromJsonProfileMeta = { fromJson? := Lean.Firefox.fromJsonProfileMeta✝ }
Equations
Equations
- Lean.Firefox.instFromJsonStackTable = { fromJson? := Lean.Firefox.fromJsonStackTable✝ }
Equations
- Lean.Firefox.instToJsonStackTable = { toJson := Lean.Firefox.toJsonStackTable✝ }
- time : Array Lean.Firefox.Milliseconds
- weight : Array Lean.Firefox.Milliseconds
- weightType : String
- length : Nat
Instances For
Equations
- Lean.Firefox.instFromJsonSamplesTable = { fromJson? := Lean.Firefox.fromJsonSamplesTable✝ }
Equations
Equations
- Lean.Firefox.instFromJsonFuncTable = { fromJson? := Lean.Firefox.fromJsonFuncTable✝ }
Equations
- Lean.Firefox.instToJsonFuncTable = { toJson := Lean.Firefox.toJsonFuncTable✝ }
Equations
- Lean.Firefox.instFromJsonFrameTable = { fromJson? := Lean.Firefox.fromJsonFrameTable✝ }
Equations
- Lean.Firefox.instToJsonFrameTable = { toJson := Lean.Firefox.toJsonFrameTable✝ }
Equations
- Lean.Firefox.instFromJsonResourceTable = { fromJson? := Lean.Firefox.fromJsonResourceTable✝ }
- name : String
- processType : String
- isMainThread : Bool
- samples : Lean.Firefox.SamplesTable
- markers : Lean.Firefox.RawMarkerTable
- stackTable : Lean.Firefox.StackTable
- frameTable : Lean.Firefox.FrameTable
- resourceTable : Lean.Firefox.ResourceTable
- funcTable : Lean.Firefox.FuncTable
Instances For
Equations
- Lean.Firefox.instFromJsonThread = { fromJson? := Lean.Firefox.fromJsonThread✝ }
Equations
- Lean.Firefox.instToJsonThread = { toJson := Lean.Firefox.toJsonThread✝ }
- meta : Lean.Firefox.ProfileMeta
- threads : Array Lean.Firefox.Thread
Instances For
Equations
- Lean.Firefox.instFromJsonProfile = { fromJson? := Lean.Firefox.fromJsonProfile✝ }
Equations
- Lean.Firefox.instToJsonProfile = { toJson := Lean.Firefox.toJsonProfile✝ }
Thread with maps necessary for computing max sharing indices
- stringMap : Std.HashMap String Nat
- funcMap : Std.HashMap Nat Nat
- lastTime : Float
Last timestamp encountered: stop time of preceding sibling, or else start time of parent.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Firefox.Profile.export
(name : String)
(startTime : Lean.Firefox.Milliseconds)
(traceState : Lean.TraceState)
(opts : Lean.Options)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
- sampleMap : Std.HashMap Nat Nat
Max sharing map for samples
Instances For
Merges given profiles such that samples with identical stacks are deduplicated by adding up their weights. Minimizes profile size while preserving per-stack timing information.
Equations
- One or more equations did not get rendered due to their size.