profiler-md 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.mjs +2787 -1669
- package/dist/index.d.mts +249 -78
- package/dist/index.js +2 -2
- package/docs/formats/collapsed.md +12 -0
- package/docs/formats/jsc-heap-snapshot.md +13 -0
- package/docs/formats/webkit-timeline-recording.md +9 -0
- package/docs/languages/c.md +1 -1
- package/docs/languages/cpp.md +136 -0
- package/docs/languages/csharp.md +49 -0
- package/docs/languages/elixir.md +42 -0
- package/docs/languages/erlang.md +42 -0
- package/docs/languages/fsharp.md +49 -0
- package/docs/languages/go.md +2 -2
- package/docs/languages/java.md +10 -7
- package/docs/languages/javascript.md +69 -0
- package/docs/languages/julia.md +42 -0
- package/docs/languages/kotlin.md +120 -0
- package/docs/languages/python.md +10 -4
- package/docs/languages/typescript.md +254 -0
- package/examples/bun.cpuprofile.md +94 -116
- package/examples/deno.cpuprofile.md +11 -18
- package/examples/jsc-heap-snapshot.base.json.md +507 -0
- package/examples/jsc-heap-snapshot.current.json.md +504 -0
- package/examples/jsc-heap-snapshot.diff.json.md +119 -0
- package/examples/node.base.cpuprofile.md +451 -0
- package/examples/node.current.cpuprofile.md +449 -0
- package/examples/node.diff.cpuprofile.md +82 -0
- package/examples/node.heapprofile.md +178 -223
- package/examples/node.heapsnapshot.md +268 -266
- package/examples/node.pprof.md +36 -45
- package/examples/python.base.collapsed.md +116 -0
- package/examples/python.current.collapsed.md +125 -0
- package/examples/python.diff.collapsed.md +51 -0
- package/examples/{rust1.pprof.md → rust.base.pprof.md} +223 -226
- package/examples/{rust2.pprof.md → rust.current.pprof.md} +199 -199
- package/examples/rust.diff.pprof.md +117 -0
- package/examples/webkit-timeline-recording.json.md +434 -0
- package/package.json +30 -18
- package/readme.md +173 -85
- package/examples/node.cpuprofile.md +0 -499
- package/examples/node.speedscope.json.md +0 -416
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# CPU profile
|
|
2
2
|
|
|
3
|
-
Took 258.0ms over 89 samples (
|
|
3
|
+
Took 258.0ms over 89 samples (2.9ms per sample).
|
|
4
4
|
|
|
5
5
|
| Category | % | Time | Samples |
|
|
6
6
|
| -------- | ----: | ------: | ------: |
|
|
7
7
|
| ours | 90.3% | 233.0ms | 76 |
|
|
8
|
-
|
|
|
8
|
+
| stdlib | 9.7% | 25.0ms | 13 |
|
|
9
9
|
|
|
10
10
|
## Hottest functions
|
|
11
11
|
|
|
@@ -13,28 +13,28 @@ Took 258.0ms over 89 samples (2898.9µs per sample).
|
|
|
13
13
|
|
|
14
14
|
Functions ranked by time spent directly in the function body, excluding callees.
|
|
15
15
|
|
|
16
|
-
| % | Time | Samples | Function | Location
|
|
17
|
-
| ----: | -----: | ------: | ------------------------------------------------------------------------------------ |
|
|
18
|
-
| 12.8% | 33.0ms | 6 | `compiler::phases::frontend::parser::__parse__Module::__reduce` | web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs
|
|
19
|
-
| 9.3% | 24.0ms | 7 | `alloc::raw_vec::RawVecInner<A>::grow_amortized` |
|
|
20
|
-
| 8.1% | 21.0ms | 1 | `compiler::phases::frontend::parser::__parse__Module::__reduce40` | web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs
|
|
21
|
-
| 6.6% | 17.0ms | 2 | `compiler::phases::middle_end::name_resolution::resolve_statement` | web-lang/compiler/src/phases/middle_end/name_resolution.rs
|
|
22
|
-
| 6.2% | 16.0ms | 4 | `compiler::phases::middle_end::type_checking::visit_statement` | web-lang/compiler/src/phases/middle_end/type_checking.rs
|
|
23
|
-
| 4.7% | 12.0ms | 2 | `core::ptr::drop_in_place<[compiler::phases::backend::ir::Statement]>` |
|
|
24
|
-
| 4.3% | 11.0ms | 2 | `compiler::phases::backend::ir::middle_statement_to_block_or_statement::{{closure}}` | web-lang/compiler/src/phases/backend/ir.rs
|
|
25
|
-
| 4.3% | 11.0ms | 1 | `compiler::phases::backend::code_gen::visit_statement` | web-lang/compiler/src/phases/backend/code_gen.rs
|
|
26
|
-
| 4.3% | 11.0ms | 5 | `<compiler::phases::middle_end::ir::Statement as core::clone::Clone>::clone` | `<
|
|
27
|
-
| 3.5% | 9.0ms | 1 | `<T as alloc::slice::<impl [T]>::to_vec_in::ConvertVec>::to_vec` |
|
|
28
|
-
| 3.1% | 8.0ms | 1 | `hashbrown::raw::RawTable<T,A>::reserve` |
|
|
29
|
-
| 2.7% | 7.0ms | 5 | `compiler::phases::middle_end::name_resolution::resolve_expression` | web-lang/compiler/src/phases/middle_end/name_resolution.rs
|
|
30
|
-
| 2.7% | 7.0ms | 1 | `compiler::phases::frontend::parser::__parse__Module::__reduce78` | web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs
|
|
31
|
-
| 2.3% | 6.0ms | 3 | `compiler::phases::backend::code_gen::generate_code` | web-lang/compiler/src/phases/backend/code_gen.rs
|
|
32
|
-
| 2.3% | 6.0ms | 5 | `core::ptr::drop_in_place<compiler::phases::backend::ir::Statement>` | `<
|
|
33
|
-
| 1.9% | 5.0ms | 3 | `compiler::phases::backend::ir::middle_statement_to_block_or_statement` | web-lang/compiler/src/phases/backend/ir.rs
|
|
34
|
-
| 1.9% | 5.0ms | 2 | `<T as core::clone::uninit::CopySpec>::clone_one` |
|
|
35
|
-
| 1.6% | 4.0ms | 4 | `<alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter` |
|
|
36
|
-
| 1.6% | 4.0ms | 3 | `compiler::phases::backend::ir::expression_to_block` | web-lang/compiler/src/phases/backend/ir.rs
|
|
37
|
-
| 1.6% | 4.0ms | 1 | `
|
|
16
|
+
| % | Time | Samples | Function | Location |
|
|
17
|
+
| ----: | -----: | ------: | ------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------- |
|
|
18
|
+
| 12.8% | 33.0ms | 6 | `compiler::phases::frontend::parser::__parse__Module::__reduce` | web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs |
|
|
19
|
+
| 9.3% | 24.0ms | 7 | `alloc::raw_vec::RawVecInner<A>::grow_amortized` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/raw_vec/mod.rs |
|
|
20
|
+
| 8.1% | 21.0ms | 1 | `compiler::phases::frontend::parser::__parse__Module::__reduce40` | web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs |
|
|
21
|
+
| 6.6% | 17.0ms | 2 | `compiler::phases::middle_end::name_resolution::resolve_statement` | web-lang/compiler/src/phases/middle_end/name_resolution.rs |
|
|
22
|
+
| 6.2% | 16.0ms | 4 | `compiler::phases::middle_end::type_checking::visit_statement` | web-lang/compiler/src/phases/middle_end/type_checking.rs |
|
|
23
|
+
| 4.7% | 12.0ms | 2 | `core::ptr::drop_in_place<[compiler::phases::backend::ir::Statement]>` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/mod.rs |
|
|
24
|
+
| 4.3% | 11.0ms | 2 | `compiler::phases::backend::ir::middle_statement_to_block_or_statement::{{closure}}` | web-lang/compiler/src/phases/backend/ir.rs |
|
|
25
|
+
| 4.3% | 11.0ms | 1 | `compiler::phases::backend::code_gen::visit_statement` | web-lang/compiler/src/phases/backend/code_gen.rs |
|
|
26
|
+
| 4.3% | 11.0ms | 5 | `<compiler::phases::middle_end::ir::Statement as core::clone::Clone>::clone` | `<unknown>` |
|
|
27
|
+
| 3.5% | 9.0ms | 1 | `<T as alloc::slice::<impl [T]>::to_vec_in::ConvertVec>::to_vec` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/slice.rs |
|
|
28
|
+
| 3.1% | 8.0ms | 1 | `hashbrown::raw::RawTable<T,A>::reserve` | ../../../../rust/deps/hashbrown-0.16.1/src/raw/mod.rs |
|
|
29
|
+
| 2.7% | 7.0ms | 5 | `compiler::phases::middle_end::name_resolution::resolve_expression` | web-lang/compiler/src/phases/middle_end/name_resolution.rs |
|
|
30
|
+
| 2.7% | 7.0ms | 1 | `compiler::phases::frontend::parser::__parse__Module::__reduce78` | web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs |
|
|
31
|
+
| 2.3% | 6.0ms | 3 | `compiler::phases::backend::code_gen::generate_code` | web-lang/compiler/src/phases/backend/code_gen.rs |
|
|
32
|
+
| 2.3% | 6.0ms | 5 | `core::ptr::drop_in_place<compiler::phases::backend::ir::Statement>` | `<unknown>` |
|
|
33
|
+
| 1.9% | 5.0ms | 3 | `compiler::phases::backend::ir::middle_statement_to_block_or_statement` | web-lang/compiler/src/phases/backend/ir.rs |
|
|
34
|
+
| 1.9% | 5.0ms | 2 | `<T as core::clone::uninit::CopySpec>::clone_one` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/clone/uninit.rs |
|
|
35
|
+
| 1.6% | 4.0ms | 4 | `<alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/spec_from_iter.rs |
|
|
36
|
+
| 1.6% | 4.0ms | 3 | `compiler::phases::backend::ir::expression_to_block` | web-lang/compiler/src/phases/backend/ir.rs |
|
|
37
|
+
| 1.6% | 4.0ms | 1 | `compiler::phases::middle_end::name_resolution::Context::add_and_rename` | web-lang/compiler/src/phases/middle_end/name_resolution.rs |
|
|
38
38
|
|
|
39
39
|
#### Lines
|
|
40
40
|
|
|
@@ -46,11 +46,11 @@ Lines ranked by contribution to each function's self time.
|
|
|
46
46
|
| -----: | -----: | ------: | ----------------------------------------------------------------------------------------- |
|
|
47
47
|
| 100.0% | 33.0ms | 6 | web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs:2906 |
|
|
48
48
|
|
|
49
|
-
##### `alloc::raw_vec::RawVecInner<A>::grow_amortized` (
|
|
49
|
+
##### `alloc::raw_vec::RawVecInner<A>::grow_amortized` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/raw_vec/mod.rs)
|
|
50
50
|
|
|
51
|
-
| % | Time | Samples | Location
|
|
52
|
-
| -----: | -----: | ------: |
|
|
53
|
-
| 100.0% | 24.0ms | 7 |
|
|
51
|
+
| % | Time | Samples | Location |
|
|
52
|
+
| -----: | -----: | ------: | -------------------------------------------------------------------------------------------------------------- |
|
|
53
|
+
| 100.0% | 24.0ms | 7 | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/raw_vec/mod.rs:527 |
|
|
54
54
|
|
|
55
55
|
##### `compiler::phases::frontend::parser::__parse__Module::__reduce40` (web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs)
|
|
56
56
|
|
|
@@ -70,11 +70,11 @@ Lines ranked by contribution to each function's self time.
|
|
|
70
70
|
| -----: | -----: | ------: | ------------------------------------------------------------ |
|
|
71
71
|
| 100.0% | 16.0ms | 4 | web-lang/compiler/src/phases/middle_end/type_checking.rs:158 |
|
|
72
72
|
|
|
73
|
-
##### `core::ptr::drop_in_place<[compiler::phases::backend::ir::Statement]>` (
|
|
73
|
+
##### `core::ptr::drop_in_place<[compiler::phases::backend::ir::Statement]>` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/mod.rs)
|
|
74
74
|
|
|
75
|
-
| % | Time | Samples | Location
|
|
76
|
-
| -----: | -----: | ------: |
|
|
77
|
-
| 100.0% | 12.0ms | 2 |
|
|
75
|
+
| % | Time | Samples | Location |
|
|
76
|
+
| -----: | -----: | ------: | --------------------------------------------------------------------------------------------------------- |
|
|
77
|
+
| 100.0% | 12.0ms | 2 | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:805 |
|
|
78
78
|
|
|
79
79
|
##### `compiler::phases::backend::ir::middle_statement_to_block_or_statement::{{closure}}` (web-lang/compiler/src/phases/backend/ir.rs)
|
|
80
80
|
|
|
@@ -88,23 +88,23 @@ Lines ranked by contribution to each function's self time.
|
|
|
88
88
|
| -----: | -----: | ------: | ---------------------------------------------------- |
|
|
89
89
|
| 100.0% | 11.0ms | 1 | web-lang/compiler/src/phases/backend/code_gen.rs:104 |
|
|
90
90
|
|
|
91
|
-
##### `<compiler::phases::middle_end::ir::Statement as core::clone::Clone>::clone` (`<
|
|
91
|
+
##### `<compiler::phases::middle_end::ir::Statement as core::clone::Clone>::clone` (`<unknown>`)
|
|
92
92
|
|
|
93
93
|
| % | Time | Samples | Location |
|
|
94
94
|
| -----: | -----: | ------: | -------- |
|
|
95
95
|
| 100.0% | 11.0ms | 5 | 0 |
|
|
96
96
|
|
|
97
|
-
##### `<T as alloc::slice::<impl [T]>::to_vec_in::ConvertVec>::to_vec` (
|
|
97
|
+
##### `<T as alloc::slice::<impl [T]>::to_vec_in::ConvertVec>::to_vec` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/slice.rs)
|
|
98
98
|
|
|
99
|
-
| % | Time | Samples | Location
|
|
100
|
-
| -----: | ----: | ------: |
|
|
101
|
-
| 100.0% | 9.0ms | 1 |
|
|
99
|
+
| % | Time | Samples | Location |
|
|
100
|
+
| -----: | ----: | ------: | -------------------------------------------------------------------------------------------------------- |
|
|
101
|
+
| 100.0% | 9.0ms | 1 | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/slice.rs:432 |
|
|
102
102
|
|
|
103
|
-
##### `hashbrown::raw::RawTable<T,A>::reserve` (
|
|
103
|
+
##### `hashbrown::raw::RawTable<T,A>::reserve` (../../../../rust/deps/hashbrown-0.16.1/src/raw/mod.rs)
|
|
104
104
|
|
|
105
|
-
| % | Time | Samples | Location
|
|
106
|
-
| -----: | ----: | ------: |
|
|
107
|
-
| 100.0% | 8.0ms | 1 |
|
|
105
|
+
| % | Time | Samples | Location |
|
|
106
|
+
| -----: | ----: | ------: | --------------------------------------------------------- |
|
|
107
|
+
| 100.0% | 8.0ms | 1 | ../../../../rust/deps/hashbrown-0.16.1/src/raw/mod.rs:962 |
|
|
108
108
|
|
|
109
109
|
##### `compiler::phases::middle_end::name_resolution::resolve_expression` (web-lang/compiler/src/phases/middle_end/name_resolution.rs)
|
|
110
110
|
|
|
@@ -124,7 +124,7 @@ Lines ranked by contribution to each function's self time.
|
|
|
124
124
|
| -----: | ----: | ------: | --------------------------------------------------- |
|
|
125
125
|
| 100.0% | 6.0ms | 3 | web-lang/compiler/src/phases/backend/code_gen.rs:25 |
|
|
126
126
|
|
|
127
|
-
##### `core::ptr::drop_in_place<compiler::phases::backend::ir::Statement>` (`<
|
|
127
|
+
##### `core::ptr::drop_in_place<compiler::phases::backend::ir::Statement>` (`<unknown>`)
|
|
128
128
|
|
|
129
129
|
| % | Time | Samples | Location |
|
|
130
130
|
| -----: | ----: | ------: | -------- |
|
|
@@ -136,17 +136,17 @@ Lines ranked by contribution to each function's self time.
|
|
|
136
136
|
| -----: | ----: | ------: | ---------------------------------------------- |
|
|
137
137
|
| 100.0% | 5.0ms | 3 | web-lang/compiler/src/phases/backend/ir.rs:124 |
|
|
138
138
|
|
|
139
|
-
##### `<T as core::clone::uninit::CopySpec>::clone_one` (
|
|
139
|
+
##### `<T as core::clone::uninit::CopySpec>::clone_one` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/clone/uninit.rs)
|
|
140
140
|
|
|
141
|
-
| % | Time | Samples | Location
|
|
142
|
-
| -----: | ----: | ------: |
|
|
143
|
-
| 100.0% | 5.0ms | 2 |
|
|
141
|
+
| % | Time | Samples | Location |
|
|
142
|
+
| -----: | ----: | ------: | ------------------------------------------------------------------------------------------------------------- |
|
|
143
|
+
| 100.0% | 5.0ms | 2 | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/clone/uninit.rs:20 |
|
|
144
144
|
|
|
145
|
-
##### `<alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter` (
|
|
145
|
+
##### `<alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/spec_from_iter.rs)
|
|
146
146
|
|
|
147
|
-
| % | Time | Samples | Location
|
|
148
|
-
| -----: | ----: | ------: |
|
|
149
|
-
| 100.0% | 4.0ms | 4 |
|
|
147
|
+
| % | Time | Samples | Location |
|
|
148
|
+
| -----: | ----: | ------: | -------------------------------------------------------------------------------------------------------------------- |
|
|
149
|
+
| 100.0% | 4.0ms | 4 | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/spec_from_iter.rs:33 |
|
|
150
150
|
|
|
151
151
|
##### `compiler::phases::backend::ir::expression_to_block` (web-lang/compiler/src/phases/backend/ir.rs)
|
|
152
152
|
|
|
@@ -154,11 +154,11 @@ Lines ranked by contribution to each function's self time.
|
|
|
154
154
|
| -----: | ----: | ------: | ---------------------------------------------- |
|
|
155
155
|
| 100.0% | 4.0ms | 3 | web-lang/compiler/src/phases/backend/ir.rs:337 |
|
|
156
156
|
|
|
157
|
-
##### `
|
|
157
|
+
##### `compiler::phases::middle_end::name_resolution::Context::add_and_rename` (web-lang/compiler/src/phases/middle_end/name_resolution.rs)
|
|
158
158
|
|
|
159
|
-
| % | Time | Samples | Location
|
|
160
|
-
| -----: | ----: | ------: |
|
|
161
|
-
| 100.0% | 4.0ms | 1 |
|
|
159
|
+
| % | Time | Samples | Location |
|
|
160
|
+
| -----: | ----: | ------: | -------------------------------------------------------------- |
|
|
161
|
+
| 100.0% | 4.0ms | 1 | web-lang/compiler/src/phases/middle_end/name_resolution.rs:123 |
|
|
162
162
|
|
|
163
163
|
#### Callers
|
|
164
164
|
|
|
@@ -170,12 +170,12 @@ Callers ranked by contribution to each function's self time. Caller attribution
|
|
|
170
170
|
| -----: | -----: | ------: | -------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
|
|
171
171
|
| 100.0% | 33.0ms | 6 | `<compiler::phases::frontend::parser::__parse__Module::__StateMachine as lalrpop_util::state_machine::ParserDefinition>::reduce` | web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs |
|
|
172
172
|
|
|
173
|
-
##### `alloc::raw_vec::RawVecInner<A>::grow_amortized` (
|
|
173
|
+
##### `alloc::raw_vec::RawVecInner<A>::grow_amortized` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/raw_vec/mod.rs)
|
|
174
174
|
|
|
175
|
-
| % | Time | Samples | Caller | Location
|
|
176
|
-
| ----: | -----: | ------: | ---------------------------------------------------------------- |
|
|
177
|
-
| 83.3% | 20.0ms | 3 | `alloc::raw_vec::RawVecInner<A>::grow_one` |
|
|
178
|
-
| 16.7% | 4.0ms | 4 | `alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle` |
|
|
175
|
+
| % | Time | Samples | Caller | Location |
|
|
176
|
+
| ----: | -----: | ------: | ---------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
|
177
|
+
| 83.3% | 20.0ms | 3 | `alloc::raw_vec::RawVecInner<A>::grow_one` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/raw_vec/mod.rs |
|
|
178
|
+
| 16.7% | 4.0ms | 4 | `alloc::raw_vec::RawVecInner<A>::reserve::do_reserve_and_handle` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/raw_vec/mod.rs |
|
|
179
179
|
|
|
180
180
|
##### `compiler::phases::frontend::parser::__parse__Module::__reduce40` (web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs)
|
|
181
181
|
|
|
@@ -197,41 +197,41 @@ Callers ranked by contribution to each function's self time. Caller attribution
|
|
|
197
197
|
| 68.8% | 11.0ms | 2 | `compiler::phases::middle_end::type_checking::visit_module_item` | web-lang/compiler/src/phases/middle_end/type_checking.rs |
|
|
198
198
|
| 31.3% | 5.0ms | 2 | `compiler::phases::middle_end::type_checking::visit_statement` | web-lang/compiler/src/phases/middle_end/type_checking.rs |
|
|
199
199
|
|
|
200
|
-
##### `core::ptr::drop_in_place<[compiler::phases::backend::ir::Statement]>` (
|
|
200
|
+
##### `core::ptr::drop_in_place<[compiler::phases::backend::ir::Statement]>` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/mod.rs)
|
|
201
201
|
|
|
202
|
-
| % | Time | Samples | Caller | Location
|
|
203
|
-
| -----: | -----: | ------: | ------------------------------------------------------- |
|
|
204
|
-
| 100.0% | 12.0ms | 2 | `<alloc::vec::Vec<T,A> as core::ops::drop::Drop>::drop` |
|
|
202
|
+
| % | Time | Samples | Caller | Location |
|
|
203
|
+
| -----: | -----: | ------: | ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
|
|
204
|
+
| 100.0% | 12.0ms | 2 | `<alloc::vec::Vec<T,A> as core::ops::drop::Drop>::drop` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs |
|
|
205
205
|
|
|
206
206
|
##### `compiler::phases::backend::ir::middle_statement_to_block_or_statement::{{closure}}` (web-lang/compiler/src/phases/backend/ir.rs)
|
|
207
207
|
|
|
208
|
-
| % | Time | Samples | Caller | Location
|
|
209
|
-
| -----: | -----: | ------: | ----------------------------------------------------------------------------------------- |
|
|
210
|
-
| 100.0% | 11.0ms | 2 | `core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &mut F>::call_once` |
|
|
208
|
+
| % | Time | Samples | Caller | Location |
|
|
209
|
+
| -----: | -----: | ------: | ----------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
|
210
|
+
| 100.0% | 11.0ms | 2 | `core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &mut F>::call_once` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs |
|
|
211
211
|
|
|
212
212
|
##### `compiler::phases::backend::code_gen::visit_statement` (web-lang/compiler/src/phases/backend/code_gen.rs)
|
|
213
213
|
|
|
214
|
-
| % | Time | Samples | Caller | Location
|
|
215
|
-
| -----: | -----: | ------: | -------------------------------------- |
|
|
216
|
-
| 100.0% | 11.0ms | 1 | `core::ops::function::FnMut::call_mut` |
|
|
214
|
+
| % | Time | Samples | Caller | Location |
|
|
215
|
+
| -----: | -----: | ------: | -------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
|
216
|
+
| 100.0% | 11.0ms | 1 | `core::ops::function::FnMut::call_mut` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs |
|
|
217
217
|
|
|
218
|
-
##### `<compiler::phases::middle_end::ir::Statement as core::clone::Clone>::clone` (`<
|
|
218
|
+
##### `<compiler::phases::middle_end::ir::Statement as core::clone::Clone>::clone` (`<unknown>`)
|
|
219
219
|
|
|
220
|
-
| % | Time | Samples | Caller | Location
|
|
221
|
-
| -----: | -----: | ------: | ---------------------------------------------------------------- |
|
|
222
|
-
| 100.0% | 11.0ms | 5 | `<T as alloc::slice::<impl [T]>::to_vec_in::ConvertVec>::to_vec` |
|
|
220
|
+
| % | Time | Samples | Caller | Location |
|
|
221
|
+
| -----: | -----: | ------: | ---------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
|
|
222
|
+
| 100.0% | 11.0ms | 5 | `<T as alloc::slice::<impl [T]>::to_vec_in::ConvertVec>::to_vec` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/slice.rs |
|
|
223
223
|
|
|
224
|
-
##### `<T as alloc::slice::<impl [T]>::to_vec_in::ConvertVec>::to_vec` (
|
|
224
|
+
##### `<T as alloc::slice::<impl [T]>::to_vec_in::ConvertVec>::to_vec` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/slice.rs)
|
|
225
225
|
|
|
226
|
-
| % | Time | Samples | Caller | Location
|
|
227
|
-
| -----: | ----: | ------: | ------------------------------------- |
|
|
228
|
-
| 100.0% | 9.0ms | 1 | `alloc::slice::<impl [T]>::to_vec_in` |
|
|
226
|
+
| % | Time | Samples | Caller | Location |
|
|
227
|
+
| -----: | ----: | ------: | ------------------------------------- | ---------------------------------------------------------------------------------------------------- |
|
|
228
|
+
| 100.0% | 9.0ms | 1 | `alloc::slice::<impl [T]>::to_vec_in` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/slice.rs |
|
|
229
229
|
|
|
230
|
-
##### `hashbrown::raw::RawTable<T,A>::reserve` (
|
|
230
|
+
##### `hashbrown::raw::RawTable<T,A>::reserve` (../../../../rust/deps/hashbrown-0.16.1/src/raw/mod.rs)
|
|
231
231
|
|
|
232
|
-
| % | Time | Samples | Caller | Location
|
|
233
|
-
| -----: | ----: | ------: | ---------------------------------------------------------- |
|
|
234
|
-
| 100.0% | 8.0ms | 1 | `hashbrown::raw::RawTable<T,A>::find_or_find_insert_index` |
|
|
232
|
+
| % | Time | Samples | Caller | Location |
|
|
233
|
+
| -----: | ----: | ------: | ---------------------------------------------------------- | ----------------------------------------------------- |
|
|
234
|
+
| 100.0% | 8.0ms | 1 | `hashbrown::raw::RawTable<T,A>::find_or_find_insert_index` | ../../../../rust/deps/hashbrown-0.16.1/src/raw/mod.rs |
|
|
235
235
|
|
|
236
236
|
##### `compiler::phases::middle_end::name_resolution::resolve_expression` (web-lang/compiler/src/phases/middle_end/name_resolution.rs)
|
|
237
237
|
|
|
@@ -253,12 +253,12 @@ Callers ranked by contribution to each function's self time. Caller attribution
|
|
|
253
253
|
| -----: | ----: | ------: | ---------------------------------------- | ------------------------------------------- |
|
|
254
254
|
| 100.0% | 6.0ms | 3 | `compiler::phases::backend::run_backend` | web-lang/compiler/src/phases/backend/mod.rs |
|
|
255
255
|
|
|
256
|
-
##### `core::ptr::drop_in_place<compiler::phases::backend::ir::Statement>` (`<
|
|
256
|
+
##### `core::ptr::drop_in_place<compiler::phases::backend::ir::Statement>` (`<unknown>`)
|
|
257
257
|
|
|
258
|
-
| % | Time | Samples | Caller | Location
|
|
259
|
-
| ----: | ----: | ------: | ---------------------------------------------------------------------- |
|
|
260
|
-
| 83.3% | 5.0ms | 4 | `core::ptr::drop_in_place<[compiler::phases::backend::ir::Statement]>` |
|
|
261
|
-
| 16.7% | 1.0ms | 1 | `core::ptr::drop_in_place<compiler::phases::backend::ir::Statement>` | `<
|
|
258
|
+
| % | Time | Samples | Caller | Location |
|
|
259
|
+
| ----: | ----: | ------: | ---------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
|
|
260
|
+
| 83.3% | 5.0ms | 4 | `core::ptr::drop_in_place<[compiler::phases::backend::ir::Statement]>` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/mod.rs |
|
|
261
|
+
| 16.7% | 1.0ms | 1 | `core::ptr::drop_in_place<compiler::phases::backend::ir::Statement>` | `<unknown>` |
|
|
262
262
|
|
|
263
263
|
##### `compiler::phases::backend::ir::middle_statement_to_block_or_statement` (web-lang/compiler/src/phases/backend/ir.rs)
|
|
264
264
|
|
|
@@ -266,17 +266,17 @@ Callers ranked by contribution to each function's self time. Caller attribution
|
|
|
266
266
|
| -----: | ----: | ------: | ------------------------------------------------------------------------------------ | ------------------------------------------ |
|
|
267
267
|
| 100.0% | 5.0ms | 3 | `compiler::phases::backend::ir::middle_statement_to_block_or_statement::{{closure}}` | web-lang/compiler/src/phases/backend/ir.rs |
|
|
268
268
|
|
|
269
|
-
##### `<T as core::clone::uninit::CopySpec>::clone_one` (
|
|
269
|
+
##### `<T as core::clone::uninit::CopySpec>::clone_one` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/clone/uninit.rs)
|
|
270
270
|
|
|
271
|
-
| % | Time | Samples | Caller | Location
|
|
272
|
-
| -----: | ----: | ------: | ---------------------------------------------------- |
|
|
273
|
-
| 100.0% | 5.0ms | 2 | `<T as core::clone::CloneToUninit>::clone_to_uninit` |
|
|
271
|
+
| % | Time | Samples | Caller | Location |
|
|
272
|
+
| -----: | ----: | ------: | ---------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
|
273
|
+
| 100.0% | 5.0ms | 2 | `<T as core::clone::CloneToUninit>::clone_to_uninit` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/clone.rs |
|
|
274
274
|
|
|
275
|
-
##### `<alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter` (
|
|
275
|
+
##### `<alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/spec_from_iter.rs)
|
|
276
276
|
|
|
277
|
-
| % | Time | Samples | Caller | Location
|
|
278
|
-
| -----: | ----: | ------: | --------------------------------------------------------------------------------- |
|
|
279
|
-
| 100.0% | 4.0ms | 4 | `<alloc::vec::Vec<T> as core::iter::traits::collect::FromIterator<T>>::from_iter` |
|
|
277
|
+
| % | Time | Samples | Caller | Location |
|
|
278
|
+
| -----: | ----: | ------: | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
|
|
279
|
+
| 100.0% | 4.0ms | 4 | `<alloc::vec::Vec<T> as core::iter::traits::collect::FromIterator<T>>::from_iter` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs |
|
|
280
280
|
|
|
281
281
|
##### `compiler::phases::backend::ir::expression_to_block` (web-lang/compiler/src/phases/backend/ir.rs)
|
|
282
282
|
|
|
@@ -284,38 +284,38 @@ Callers ranked by contribution to each function's self time. Caller attribution
|
|
|
284
284
|
| -----: | ----: | ------: | ----------------------------------------------------------------------- | ------------------------------------------ |
|
|
285
285
|
| 100.0% | 4.0ms | 3 | `compiler::phases::backend::ir::middle_statement_to_block_or_statement` | web-lang/compiler/src/phases/backend/ir.rs |
|
|
286
286
|
|
|
287
|
-
##### `
|
|
287
|
+
##### `compiler::phases::middle_end::name_resolution::Context::add_and_rename` (web-lang/compiler/src/phases/middle_end/name_resolution.rs)
|
|
288
288
|
|
|
289
|
-
| % | Time | Samples | Caller
|
|
290
|
-
| -----: | ----: | ------: |
|
|
291
|
-
| 100.0% | 4.0ms | 1 | `
|
|
289
|
+
| % | Time | Samples | Caller | Location |
|
|
290
|
+
| -----: | ----: | ------: | ------------------------------------------------------------------ | ---------------------------------------------------------- |
|
|
291
|
+
| 100.0% | 4.0ms | 1 | `compiler::phases::middle_end::name_resolution::resolve_statement` | web-lang/compiler/src/phases/middle_end/name_resolution.rs |
|
|
292
292
|
|
|
293
293
|
### Total time
|
|
294
294
|
|
|
295
295
|
Functions ranked by total time spent in the function and all its callees.
|
|
296
296
|
|
|
297
|
-
| % | Time | Samples | Function | Location
|
|
298
|
-
| -----: | ------: | ------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
299
|
-
| 100.0% | 258.0ms | 89 | `compiler::main` | web-lang/compiler/src/main.rs
|
|
300
|
-
| 100.0% | 258.0ms | 89 | `core::ops::function::FnOnce::call_once` |
|
|
301
|
-
| 100.0% | 258.0ms | 89 | `std::sys::backtrace::__rust_begin_short_backtrace` |
|
|
302
|
-
| 100.0% | 258.0ms | 89 |
|
|
303
|
-
| 100.0% | 258.0ms | 89 |
|
|
304
|
-
| 100.0% | 258.0ms | 89 | `std::panicking::catch_unwind
|
|
305
|
-
| 100.0% | 258.0ms | 89 | `std::
|
|
306
|
-
| 100.0% | 258.0ms | 89 | `std::
|
|
307
|
-
| 100.0% | 258.0ms | 89 | `std::rt::lang_start_internal::{closure#0}
|
|
308
|
-
| 100.0% | 258.0ms | 89 | `std::panicking::catch_unwind
|
|
309
|
-
| 100.0% | 258.0ms | 89 | `std::
|
|
310
|
-
| 100.0% | 258.0ms | 89 | `std::
|
|
311
|
-
|
|
|
312
|
-
|
|
|
313
|
-
|
|
|
314
|
-
| 32.2% | 83.0ms | 13 | `compiler::phases::frontend::
|
|
315
|
-
|
|
|
316
|
-
|
|
|
317
|
-
| 31.8% | 82.0ms | 12 | `
|
|
318
|
-
| 31.
|
|
297
|
+
| % | Time | Samples | Function | Location |
|
|
298
|
+
| -----: | ------: | ------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
|
299
|
+
| 100.0% | 258.0ms | 89 | `compiler::main` | web-lang/compiler/src/main.rs |
|
|
300
|
+
| 100.0% | 258.0ms | 89 | `core::ops::function::FnOnce::call_once` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs |
|
|
301
|
+
| 100.0% | 258.0ms | 89 | `std::sys::backtrace::__rust_begin_short_backtrace` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/backtrace.rs |
|
|
302
|
+
| 100.0% | 258.0ms | 89 | `<&dyn core::ops::function::Fn<(), Output = i32> + core::panic::unwind_safe::RefUnwindSafe + core::marker::Sync as core::ops::function::FnOnce<()>>::call_once` | ../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/ops/function.rs |
|
|
303
|
+
| 100.0% | 258.0ms | 89 | `std::panicking::catch_unwind::do_call::<&dyn core::ops::function::Fn<(), Output = i32> + core::panic::unwind_safe::RefUnwindSafe + core::marker::Sync, i32>` | ../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs |
|
|
304
|
+
| 100.0% | 258.0ms | 89 | `std::panicking::catch_unwind::<i32, &dyn core::ops::function::Fn<(), Output = i32> + core::panic::unwind_safe::RefUnwindSafe + core::marker::Sync>` | ../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs |
|
|
305
|
+
| 100.0% | 258.0ms | 89 | `std::panic::catch_unwind::<&dyn core::ops::function::Fn<(), Output = i32> + core::panic::unwind_safe::RefUnwindSafe + core::marker::Sync, i32>` | ../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panic.rs |
|
|
306
|
+
| 100.0% | 258.0ms | 89 | `std::rt::lang_start_internal::{closure#0}` | ../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/rt.rs |
|
|
307
|
+
| 100.0% | 258.0ms | 89 | `std::panicking::catch_unwind::do_call::<std::rt::lang_start_internal::{closure#0}, isize>` | ../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs |
|
|
308
|
+
| 100.0% | 258.0ms | 89 | `std::panicking::catch_unwind::<isize, std::rt::lang_start_internal::{closure#0}>` | ../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs |
|
|
309
|
+
| 100.0% | 258.0ms | 89 | `std::panic::catch_unwind::<std::rt::lang_start_internal::{closure#0}, isize>` | ../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panic.rs |
|
|
310
|
+
| 100.0% | 258.0ms | 89 | `std::rt::lang_start_internal` | ../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/rt.rs |
|
|
311
|
+
| 37.6% | 97.0ms | 37 | `compiler::phases::middle_end::run_middle_end` | web-lang/compiler/src/phases/middle_end/mod.rs |
|
|
312
|
+
| 32.2% | 83.0ms | 13 | `compiler::phases::frontend::Program::parse_module` | web-lang/compiler/src/phases/frontend/mod.rs |
|
|
313
|
+
| 32.2% | 83.0ms | 13 | `compiler::phases::frontend::Program::from_entry_point` | web-lang/compiler/src/phases/frontend/mod.rs |
|
|
314
|
+
| 32.2% | 83.0ms | 13 | `compiler::phases::frontend::run_frontend` | web-lang/compiler/src/phases/frontend/mod.rs |
|
|
315
|
+
| 31.8% | 82.0ms | 12 | `lalrpop_util::state_machine::Parser<D,I>::parse` | ../../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lalrpop-util-0.20.2/src/state_machine.rs |
|
|
316
|
+
| 31.8% | 82.0ms | 12 | `lalrpop_util::state_machine::Parser<D,I>::drive` | ../../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lalrpop-util-0.20.2/src/state_machine.rs |
|
|
317
|
+
| 31.8% | 82.0ms | 12 | `compiler::phases::frontend::parser::__parse__Module::ModuleParser::parse` | web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs |
|
|
318
|
+
| 31.4% | 81.0ms | 11 | `compiler::phases::frontend::parser::__parse__Module::__reduce` | web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs |
|
|
319
319
|
|
|
320
320
|
#### Callees
|
|
321
321
|
|
|
@@ -323,107 +323,89 @@ Callees ranked by contribution to each function's total time. Callee attribution
|
|
|
323
323
|
|
|
324
324
|
##### `compiler::main` (web-lang/compiler/src/main.rs)
|
|
325
325
|
|
|
326
|
-
| % | Time | Samples | Callee | Location
|
|
327
|
-
| ----: | -----: | ------: | ---------------------------------------------- |
|
|
328
|
-
| 37.6% | 97.0ms | 37 | `compiler::phases::middle_end::run_middle_end` | web-lang/compiler/src/phases/middle_end/mod.rs
|
|
329
|
-
| 32.2% | 83.0ms | 13 | `compiler::phases::frontend::run_frontend` | web-lang/compiler/src/phases/frontend/mod.rs
|
|
330
|
-
| 29.8% | 77.0ms | 38 | `compiler::phases::backend::run_backend` | web-lang/compiler/src/phases/backend/mod.rs
|
|
331
|
-
| 0.4% | 1.0ms | 1 | `std::fs::write` |
|
|
326
|
+
| % | Time | Samples | Callee | Location |
|
|
327
|
+
| ----: | -----: | ------: | ---------------------------------------------- | ----------------------------------------------------------------------------------------------- |
|
|
328
|
+
| 37.6% | 97.0ms | 37 | `compiler::phases::middle_end::run_middle_end` | web-lang/compiler/src/phases/middle_end/mod.rs |
|
|
329
|
+
| 32.2% | 83.0ms | 13 | `compiler::phases::frontend::run_frontend` | web-lang/compiler/src/phases/frontend/mod.rs |
|
|
330
|
+
| 29.8% | 77.0ms | 38 | `compiler::phases::backend::run_backend` | web-lang/compiler/src/phases/backend/mod.rs |
|
|
331
|
+
| 0.4% | 1.0ms | 1 | `std::fs::write` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/fs.rs |
|
|
332
332
|
|
|
333
|
-
##### `core::ops::function::FnOnce::call_once` (
|
|
333
|
+
##### `core::ops::function::FnOnce::call_once` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs)
|
|
334
334
|
|
|
335
335
|
| % | Time | Samples | Callee | Location |
|
|
336
336
|
| -----: | ------: | ------: | ---------------------------------------------------- | ------------------------------------------ |
|
|
337
337
|
| 100.0% | 258.0ms | 89 | `compiler::main` | web-lang/compiler/src/main.rs |
|
|
338
338
|
| 0.4% | 1.0ms | 1 | `compiler::phases::backend::ir::block_to_statements` | web-lang/compiler/src/phases/backend/ir.rs |
|
|
339
339
|
|
|
340
|
-
##### `std::sys::backtrace::__rust_begin_short_backtrace` (
|
|
341
|
-
|
|
342
|
-
| % | Time | Samples | Callee | Location |
|
|
343
|
-
| -----: | ------: | ------: | ---------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
|
|
344
|
-
| 100.0% | 258.0ms | 89 | `core::ops::function::FnOnce::call_once` | /Users/mike/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs |
|
|
345
|
-
|
|
346
|
-
##### `std::rt::lang_start::{{closure}}` (`<native>`)
|
|
347
|
-
|
|
348
|
-
| % | Time | Samples | Callee | Location |
|
|
349
|
-
| -----: | ------: | ------: | --------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
|
|
350
|
-
| 100.0% | 258.0ms | 89 | `std::sys::backtrace::__rust_begin_short_backtrace` | /Users/mike/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/backtrace.rs |
|
|
340
|
+
##### `std::sys::backtrace::__rust_begin_short_backtrace` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/backtrace.rs)
|
|
351
341
|
|
|
352
|
-
|
|
342
|
+
| % | Time | Samples | Callee | Location |
|
|
343
|
+
| -----: | ------: | ------: | ---------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
|
344
|
+
| 100.0% | 258.0ms | 89 | `core::ops::function::FnOnce::call_once` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs |
|
|
353
345
|
|
|
354
|
-
|
|
355
|
-
| -----: | ------: | ------: | ---------------------------------- | ---------- |
|
|
356
|
-
| 100.0% | 258.0ms | 89 | `std::rt::lang_start::{{closure}}` | `<native>` |
|
|
346
|
+
##### `std::panicking::catch_unwind::do_call::<&dyn core::ops::function::Fn<(), Output = i32> + core::panic::unwind_safe::RefUnwindSafe + core::marker::Sync, i32>` (../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs)
|
|
357
347
|
|
|
358
|
-
|
|
348
|
+
| % | Time | Samples | Callee | Location |
|
|
349
|
+
| -----: | ------: | ------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
|
|
350
|
+
| 100.0% | 258.0ms | 89 | `<&dyn core::ops::function::Fn<(), Output = i32> + core::panic::unwind_safe::RefUnwindSafe + core::marker::Sync as core::ops::function::FnOnce<()>>::call_once` | ../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/ops/function.rs |
|
|
359
351
|
|
|
360
|
-
|
|
361
|
-
| -----: | ------: | ------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
|
|
362
|
-
| 100.0% | 258.0ms | 89 | `<&dyn core::ops::function::Fn<(), Output = i32> + core::panic::unwind_safe::RefUnwindSafe + core::marker::Sync as core::ops::function::FnOnce<()>>::call_once` | /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/ops/function.rs |
|
|
352
|
+
##### `std::panicking::catch_unwind::<i32, &dyn core::ops::function::Fn<(), Output = i32> + core::panic::unwind_safe::RefUnwindSafe + core::marker::Sync>` (../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs)
|
|
363
353
|
|
|
364
|
-
|
|
354
|
+
| % | Time | Samples | Callee | Location |
|
|
355
|
+
| -----: | ------: | ------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
|
|
356
|
+
| 100.0% | 258.0ms | 89 | `std::panicking::catch_unwind::do_call::<&dyn core::ops::function::Fn<(), Output = i32> + core::panic::unwind_safe::RefUnwindSafe + core::marker::Sync, i32>` | ../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs |
|
|
365
357
|
|
|
366
|
-
|
|
367
|
-
| -----: | ------: | ------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
|
|
368
|
-
| 100.0% | 258.0ms | 89 | `std::panicking::catch_unwind::do_call::<&dyn core::ops::function::Fn<(), Output = i32> + core::panic::unwind_safe::RefUnwindSafe + core::marker::Sync, i32>` | /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs |
|
|
358
|
+
##### `std::panic::catch_unwind::<&dyn core::ops::function::Fn<(), Output = i32> + core::panic::unwind_safe::RefUnwindSafe + core::marker::Sync, i32>` (../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panic.rs)
|
|
369
359
|
|
|
370
|
-
|
|
360
|
+
| % | Time | Samples | Callee | Location |
|
|
361
|
+
| -----: | ------: | ------: | ---------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
|
|
362
|
+
| 100.0% | 258.0ms | 89 | `std::panicking::catch_unwind::<i32, &dyn core::ops::function::Fn<(), Output = i32> + core::panic::unwind_safe::RefUnwindSafe + core::marker::Sync>` | ../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs |
|
|
371
363
|
|
|
372
|
-
|
|
373
|
-
| -----: | ------: | ------: | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
|
|
374
|
-
| 100.0% | 258.0ms | 89 | `std::panicking::catch_unwind::<i32, &dyn core::ops::function::Fn<(), Output = i32> + core::panic::unwind_safe::RefUnwindSafe + core::marker::Sync>` | /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs |
|
|
364
|
+
##### `std::rt::lang_start_internal::{closure#0}` (../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/rt.rs)
|
|
375
365
|
|
|
376
|
-
|
|
366
|
+
| % | Time | Samples | Callee | Location |
|
|
367
|
+
| -----: | ------: | ------: | ------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------- |
|
|
368
|
+
| 100.0% | 258.0ms | 89 | `std::panic::catch_unwind::<&dyn core::ops::function::Fn<(), Output = i32> + core::panic::unwind_safe::RefUnwindSafe + core::marker::Sync, i32>` | ../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panic.rs |
|
|
377
369
|
|
|
378
|
-
|
|
379
|
-
| -----: | ------: | ------: | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
|
|
380
|
-
| 100.0% | 258.0ms | 89 | `std::panic::catch_unwind::<&dyn core::ops::function::Fn<(), Output = i32> + core::panic::unwind_safe::RefUnwindSafe + core::marker::Sync, i32>` | /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panic.rs |
|
|
370
|
+
##### `std::panicking::catch_unwind::do_call::<std::rt::lang_start_internal::{closure#0}, isize>` (../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs)
|
|
381
371
|
|
|
382
|
-
|
|
372
|
+
| % | Time | Samples | Callee | Location |
|
|
373
|
+
| -----: | ------: | ------: | ------------------------------------------- | -------------------------------------------------------------------------------- |
|
|
374
|
+
| 100.0% | 258.0ms | 89 | `std::rt::lang_start_internal::{closure#0}` | ../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/rt.rs |
|
|
383
375
|
|
|
384
|
-
|
|
385
|
-
| -----: | ------: | ------: | ------------------------------------------- | --------------------------------------------------------------------- |
|
|
386
|
-
| 100.0% | 258.0ms | 89 | `std::rt::lang_start_internal::{closure#0}` | /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/rt.rs |
|
|
376
|
+
##### `std::panicking::catch_unwind::<isize, std::rt::lang_start_internal::{closure#0}>` (../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs)
|
|
387
377
|
|
|
388
|
-
|
|
378
|
+
| % | Time | Samples | Callee | Location |
|
|
379
|
+
| -----: | ------: | ------: | ------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
|
|
380
|
+
| 100.0% | 258.0ms | 89 | `std::panicking::catch_unwind::do_call::<std::rt::lang_start_internal::{closure#0}, isize>` | ../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs |
|
|
389
381
|
|
|
390
|
-
|
|
391
|
-
| -----: | ------: | ------: | ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
|
|
392
|
-
| 100.0% | 258.0ms | 89 | `std::panicking::catch_unwind::do_call::<std::rt::lang_start_internal::{closure#0}, isize>` | /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs |
|
|
382
|
+
##### `std::panic::catch_unwind::<std::rt::lang_start_internal::{closure#0}, isize>` (../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panic.rs)
|
|
393
383
|
|
|
394
|
-
|
|
384
|
+
| % | Time | Samples | Callee | Location |
|
|
385
|
+
| -----: | ------: | ------: | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
|
|
386
|
+
| 100.0% | 258.0ms | 89 | `std::panicking::catch_unwind::<isize, std::rt::lang_start_internal::{closure#0}>` | ../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs |
|
|
395
387
|
|
|
396
|
-
|
|
397
|
-
| -----: | ------: | ------: | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
|
|
398
|
-
| 100.0% | 258.0ms | 89 | `std::panicking::catch_unwind::<isize, std::rt::lang_start_internal::{closure#0}>` | /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs |
|
|
388
|
+
##### `std::rt::lang_start_internal` (../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/rt.rs)
|
|
399
389
|
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
|
403
|
-
| -----: | ------: | ------: | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
|
|
404
|
-
| 100.0% | 258.0ms | 89 | `std::panic::catch_unwind::<std::rt::lang_start_internal::{closure#0}, isize>` | /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panic.rs |
|
|
405
|
-
|
|
406
|
-
##### `_main` (`<native>`)
|
|
407
|
-
|
|
408
|
-
| % | Time | Samples | Callee | Location |
|
|
409
|
-
| -----: | ------: | ------: | ------------------------------ | --------------------------------------------------------------------- |
|
|
410
|
-
| 100.0% | 258.0ms | 89 | `std::rt::lang_start_internal` | /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/rt.rs |
|
|
390
|
+
| % | Time | Samples | Callee | Location |
|
|
391
|
+
| -----: | ------: | ------: | ------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------- |
|
|
392
|
+
| 100.0% | 258.0ms | 89 | `std::panic::catch_unwind::<std::rt::lang_start_internal::{closure#0}, isize>` | ../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panic.rs |
|
|
411
393
|
|
|
412
394
|
##### `compiler::phases::middle_end::run_middle_end` (web-lang/compiler/src/phases/middle_end/mod.rs)
|
|
413
395
|
|
|
414
|
-
| % | Time | Samples | Callee | Location
|
|
415
|
-
| ----: | -----: | ------: | ---------------------------------------------------------------------- |
|
|
416
|
-
| 69.1% | 67.0ms | 23 | `compiler::phases::middle_end::name_resolution::resolve_names` | web-lang/compiler/src/phases/middle_end/name_resolution.rs
|
|
417
|
-
| 22.7% | 22.0ms | 10 | `compiler::phases::middle_end::type_checking::check_types` | web-lang/compiler/src/phases/middle_end/type_checking.rs
|
|
418
|
-
| 6.2% | 6.0ms | 2 | `core::ptr::drop_in_place<compiler::phases::frontend::Program>` |
|
|
419
|
-
| 2.1% | 2.0ms | 2 | `core::ptr::drop_in_place<compiler::types::symbol_table::SymbolTable>` |
|
|
396
|
+
| % | Time | Samples | Callee | Location |
|
|
397
|
+
| ----: | -----: | ------: | ---------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
|
|
398
|
+
| 69.1% | 67.0ms | 23 | `compiler::phases::middle_end::name_resolution::resolve_names` | web-lang/compiler/src/phases/middle_end/name_resolution.rs |
|
|
399
|
+
| 22.7% | 22.0ms | 10 | `compiler::phases::middle_end::type_checking::check_types` | web-lang/compiler/src/phases/middle_end/type_checking.rs |
|
|
400
|
+
| 6.2% | 6.0ms | 2 | `core::ptr::drop_in_place<compiler::phases::frontend::Program>` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/mod.rs |
|
|
401
|
+
| 2.1% | 2.0ms | 2 | `core::ptr::drop_in_place<compiler::types::symbol_table::SymbolTable>` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/mod.rs |
|
|
420
402
|
|
|
421
403
|
##### `compiler::phases::frontend::Program::parse_module` (web-lang/compiler/src/phases/frontend/mod.rs)
|
|
422
404
|
|
|
423
|
-
| % | Time | Samples | Callee | Location
|
|
424
|
-
| ----: | -----: | ------: | -------------------------------------------------------------------------- |
|
|
425
|
-
| 98.8% | 82.0ms | 12 | `compiler::phases::frontend::parser::__parse__Module::ModuleParser::parse` | web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs
|
|
426
|
-
| 1.2% | 1.0ms | 1 | `<std::path::Path>::exists` |
|
|
405
|
+
| % | Time | Samples | Callee | Location |
|
|
406
|
+
| ----: | -----: | ------: | -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
|
|
407
|
+
| 98.8% | 82.0ms | 12 | `compiler::phases::frontend::parser::__parse__Module::ModuleParser::parse` | web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs |
|
|
408
|
+
| 1.2% | 1.0ms | 1 | `<std::path::Path>::exists` | ../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/path.rs |
|
|
427
409
|
|
|
428
410
|
##### `compiler::phases::frontend::Program::from_entry_point` (web-lang/compiler/src/phases/frontend/mod.rs)
|
|
429
411
|
|
|
@@ -437,44 +419,59 @@ Callees ranked by contribution to each function's total time. Callee attribution
|
|
|
437
419
|
| -----: | -----: | ------: | ------------------------------------------------------- | -------------------------------------------- |
|
|
438
420
|
| 100.0% | 83.0ms | 13 | `compiler::phases::frontend::Program::from_entry_point` | web-lang/compiler/src/phases/frontend/mod.rs |
|
|
439
421
|
|
|
440
|
-
##### `lalrpop_util::state_machine::Parser<D,I>::parse` (
|
|
422
|
+
##### `lalrpop_util::state_machine::Parser<D,I>::parse` (../../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lalrpop-util-0.20.2/src/state_machine.rs)
|
|
423
|
+
|
|
424
|
+
| % | Time | Samples | Callee | Location |
|
|
425
|
+
| ----: | -----: | ------: | ------------------------------------------------------ | --------------------------------------------------------------------------------------------------- |
|
|
426
|
+
| 98.8% | 81.0ms | 11 | `lalrpop_util::state_machine::Parser<D,I>::reduce` | ../../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lalrpop-util-0.20.2/src/state_machine.rs |
|
|
427
|
+
| 1.2% | 1.0ms | 1 | `lalrpop_util::state_machine::Parser<D,I>::next_token` | ../../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lalrpop-util-0.20.2/src/state_machine.rs |
|
|
441
428
|
|
|
442
|
-
|
|
443
|
-
| ----: | -----: | ------: | ------------------------------------------------------ | --------------------------------------------------------------------------------------------------------- |
|
|
444
|
-
| 98.8% | 81.0ms | 11 | `lalrpop_util::state_machine::Parser<D,I>::reduce` | /Users/mike/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lalrpop-util-0.20.2/src/state_machine.rs |
|
|
445
|
-
| 1.2% | 1.0ms | 1 | `lalrpop_util::state_machine::Parser<D,I>::next_token` | /Users/mike/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lalrpop-util-0.20.2/src/state_machine.rs |
|
|
429
|
+
##### `lalrpop_util::state_machine::Parser<D,I>::drive` (../../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lalrpop-util-0.20.2/src/state_machine.rs)
|
|
446
430
|
|
|
447
|
-
|
|
431
|
+
| % | Time | Samples | Callee | Location |
|
|
432
|
+
| -----: | -----: | ------: | ------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
|
433
|
+
| 100.0% | 82.0ms | 12 | `lalrpop_util::state_machine::Parser<D,I>::parse` | ../../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lalrpop-util-0.20.2/src/state_machine.rs |
|
|
434
|
+
|
|
435
|
+
##### `compiler::phases::frontend::parser::__parse__Module::ModuleParser::parse` (web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs)
|
|
436
|
+
|
|
437
|
+
| % | Time | Samples | Callee | Location |
|
|
438
|
+
| -----: | -----: | ------: | ------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
|
439
|
+
| 100.0% | 82.0ms | 12 | `lalrpop_util::state_machine::Parser<D,I>::drive` | ../../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lalrpop-util-0.20.2/src/state_machine.rs |
|
|
440
|
+
|
|
441
|
+
##### `compiler::phases::frontend::parser::__parse__Module::__reduce` (web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs)
|
|
448
442
|
|
|
449
|
-
|
|
|
450
|
-
|
|
|
451
|
-
|
|
|
443
|
+
| % | Time | Samples | Callee | Location |
|
|
444
|
+
| ----: | -----: | ------: | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
|
|
445
|
+
| 25.9% | 21.0ms | 1 | `compiler::phases::frontend::parser::__parse__Module::__reduce40` | web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs |
|
|
446
|
+
| 23.5% | 19.0ms | 2 | `compiler::phases::frontend::parser::__parse__Module::__reduce153` | web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs |
|
|
447
|
+
| 8.6% | 7.0ms | 1 | `compiler::phases::frontend::parser::__parse__Module::__reduce78` | web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs |
|
|
448
|
+
| 1.2% | 1.0ms | 1 | `compiler::phases::frontend::parser::__parse__Module::__reduce111` | web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs |
|
|
452
449
|
|
|
453
450
|
## Hottest call stacks
|
|
454
451
|
|
|
455
|
-
Call stacks ranked by time spent in their
|
|
456
|
-
|
|
457
|
-
Common call stack: `compiler::main` (web-lang/compiler/src/main.rs) ← `core::ops::function::FnOnce::call_once` (
|
|
458
|
-
|
|
459
|
-
| % | Time | Samples | Call stack
|
|
460
|
-
| ----: | -----: | ------: |
|
|
461
|
-
| 12.8% | 33.0ms | 6 | `compiler::phases::frontend::parser::__parse__Module::__reduce` (web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs) ← `<compiler::phases::frontend::parser::__parse__Module::__StateMachine as lalrpop_util::state_machine::ParserDefinition>::reduce` ← `lalrpop_util::state_machine::Parser<D,I>::reduce` (
|
|
462
|
-
| 8.1% | 21.0ms | 1 | `compiler::phases::frontend::parser::__parse__Module::__reduce40` (web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs) ← `compiler::phases::frontend::parser::__parse__Module::__reduce` ← `<compiler::phases::frontend::parser::__parse__Module::__StateMachine as lalrpop_util::state_machine::ParserDefinition>::reduce` ← `lalrpop_util::state_machine::Parser<D,I>::reduce` (
|
|
463
|
-
| 7.4% | 19.0ms | 2 | `alloc::raw_vec::RawVecInner<A>::grow_amortized` (
|
|
464
|
-
| 5.8% | 15.0ms | 1 | `compiler::phases::middle_end::name_resolution::resolve_statement` (web-lang/compiler/src/phases/middle_end/name_resolution.rs) ← `compiler::phases::middle_end::name_resolution::resolve_module_item` ← `compiler::phases::middle_end::name_resolution::resolve_module` ← `compiler::phases::middle_end::name_resolution::resolve_names` ← `compiler::phases::middle_end::run_middle_end` (web-lang/compiler/src/phases/middle_end/mod.rs)
|
|
465
|
-
| 4.7% | 12.0ms | 2 | `core::ptr::drop_in_place<[compiler::phases::backend::ir::Statement]>` (
|
|
466
|
-
| 4.3% | 11.0ms | 1 | `compiler::phases::backend::code_gen::visit_statement` (web-lang/compiler/src/phases/backend/code_gen.rs) ← `core::ops::function::FnMut::call_mut` (
|
|
467
|
-
| 4.3% | 11.0ms | 2 | `compiler::phases::backend::ir::middle_statement_to_block_or_statement::{{closure}}` (web-lang/compiler/src/phases/backend/ir.rs) ← `core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &mut F>::call_once` (
|
|
468
|
-
| 4.3% | 11.0ms | 2 | `compiler::phases::middle_end::type_checking::visit_statement` (web-lang/compiler/src/phases/middle_end/type_checking.rs) ← `compiler::phases::middle_end::type_checking::visit_module_item` ← `compiler::phases::middle_end::type_checking::visit_module` ← `compiler::phases::middle_end::type_checking::check_types` ← `compiler::phases::middle_end::run_middle_end` (web-lang/compiler/src/phases/middle_end/mod.rs)
|
|
469
|
-
| 3.5% | 9.0ms | 1 | `<T as alloc::slice::<impl [T]>::to_vec_in::ConvertVec>::to_vec` (
|
|
470
|
-
| 3.1% | 8.0ms | 2 | `<compiler::phases::middle_end::ir::Statement as core::clone::Clone>::clone` ← `<T as alloc::slice::<impl [T]>::to_vec_in::ConvertVec>::to_vec` (
|
|
471
|
-
| 3.1% | 8.0ms | 1 | `hashbrown::raw::RawTable<T,A>::reserve` (
|
|
472
|
-
| 2.7% | 7.0ms | 1 | `compiler::phases::frontend::parser::__parse__Module::__reduce78` (web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs) ← `compiler::phases::frontend::parser::__parse__Module::__reduce` ← `<compiler::phases::frontend::parser::__parse__Module::__StateMachine as lalrpop_util::state_machine::ParserDefinition>::reduce` ← `lalrpop_util::state_machine::Parser<D,I>::reduce` (
|
|
473
|
-
| 2.3% | 6.0ms | 3 | `compiler::phases::backend::code_gen::generate_code` (web-lang/compiler/src/phases/backend/code_gen.rs) ← `compiler::phases::backend::run_backend` (web-lang/compiler/src/phases/backend/mod.rs)
|
|
474
|
-
| 1.9% | 5.0ms | 3 | `compiler::phases::backend::ir::middle_statement_to_block_or_statement` (web-lang/compiler/src/phases/backend/ir.rs) ← `compiler::phases::backend::ir::middle_statement_to_block_or_statement::{{closure}}` ← `core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &mut F>::call_once` (
|
|
475
|
-
| 1.9% | 5.0ms | 2 | `<T as core::clone::uninit::CopySpec>::clone_one` (
|
|
476
|
-
| 1.9% | 5.0ms | 4 | `core::ptr::drop_in_place<compiler::phases::backend::ir::Statement>` ← `core::ptr::drop_in_place<[compiler::phases::backend::ir::Statement]>` (
|
|
477
|
-
| 1.9% | 5.0ms | 2 | `compiler::phases::middle_end::type_checking::visit_statement` (web-lang/compiler/src/phases/middle_end/type_checking.rs) ← `compiler::phases::middle_end::type_checking::visit_statement` ← `compiler::phases::middle_end::type_checking::visit_module_item` ← `compiler::phases::middle_end::type_checking::visit_module` ← `compiler::phases::middle_end::type_checking::check_types` ← `compiler::phases::middle_end::run_middle_end` (web-lang/compiler/src/phases/middle_end/mod.rs)
|
|
478
|
-
| 1.6% | 4.0ms | 3 | `compiler::phases::backend::ir::expression_to_block` (web-lang/compiler/src/phases/backend/ir.rs) ← `compiler::phases::backend::ir::middle_statement_to_block_or_statement` ← `compiler::phases::backend::ir::middle_statement_to_block_or_statement::{{closure}}` ← `core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &mut F>::call_once` (
|
|
479
|
-
| 1.6% | 4.0ms | 1 | `core::ptr::drop_in_place<
|
|
480
|
-
| 1.6% | 4.0ms | 1 | `compiler::phases::middle_end::name_resolution::Context::add_and_rename` (web-lang/compiler/src/phases/middle_end/name_resolution.rs) ← `compiler::phases::middle_end::name_resolution::resolve_statement` ← `compiler::phases::middle_end::name_resolution::resolve_block` ← `compiler::phases::middle_end::name_resolution::resolve_statement` ← `compiler::phases::middle_end::name_resolution::resolve_module_item` ← `compiler::phases::middle_end::name_resolution::resolve_module` ← `compiler::phases::middle_end::name_resolution::resolve_names` ← `compiler::phases::middle_end::run_middle_end` (web-lang/compiler/src/phases/middle_end/mod.rs)
|
|
452
|
+
Call stacks ranked by time spent in their leaf frame.
|
|
453
|
+
|
|
454
|
+
Common call stack: `compiler::main` (web-lang/compiler/src/main.rs) ← `core::ops::function::FnOnce::call_once` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs) ← `std::sys::backtrace::__rust_begin_short_backtrace` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/backtrace.rs) ← `<&dyn core::ops::function::Fn<(), Output = i32> + core::panic::unwind_safe::RefUnwindSafe + core::marker::Sync as core::ops::function::FnOnce<()>>::call_once` (../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/ops/function.rs) ← `std::panicking::catch_unwind::do_call::<&dyn core::ops::function::Fn<(), Output = i32> + core::panic::unwind_safe::RefUnwindSafe + core::marker::Sync, i32>` (../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs) ← `std::panicking::catch_unwind::<i32, &dyn core::ops::function::Fn<(), Output = i32> + core::panic::unwind_safe::RefUnwindSafe + core::marker::Sync>` ← `std::panic::catch_unwind::<&dyn core::ops::function::Fn<(), Output = i32> + core::panic::unwind_safe::RefUnwindSafe + core::marker::Sync, i32>` (../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panic.rs) ← `std::rt::lang_start_internal::{closure#0}` (../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/rt.rs) ← `std::panicking::catch_unwind::do_call::<std::rt::lang_start_internal::{closure#0}, isize>` (../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs) ← `std::panicking::catch_unwind::<isize, std::rt::lang_start_internal::{closure#0}>` ← `std::panic::catch_unwind::<std::rt::lang_start_internal::{closure#0}, isize>` (../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panic.rs) ← `std::rt::lang_start_internal` (../../../../rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/rt.rs)
|
|
455
|
+
|
|
456
|
+
| % | Time | Samples | Call stack |
|
|
457
|
+
| ----: | -----: | ------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
458
|
+
| 12.8% | 33.0ms | 6 | `compiler::phases::frontend::parser::__parse__Module::__reduce` (web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs) ← `<compiler::phases::frontend::parser::__parse__Module::__StateMachine as lalrpop_util::state_machine::ParserDefinition>::reduce` ← `lalrpop_util::state_machine::Parser<D,I>::reduce` (../../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lalrpop-util-0.20.2/src/state_machine.rs) ← `lalrpop_util::state_machine::Parser<D,I>::parse` ← `lalrpop_util::state_machine::Parser<D,I>::drive` ← `compiler::phases::frontend::parser::__parse__Module::ModuleParser::parse` (web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs) ← `compiler::phases::frontend::Program::parse_module` (web-lang/compiler/src/phases/frontend/mod.rs) ← `compiler::phases::frontend::Program::from_entry_point` ← `compiler::phases::frontend::run_frontend` |
|
|
459
|
+
| 8.1% | 21.0ms | 1 | `compiler::phases::frontend::parser::__parse__Module::__reduce40` (web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs) ← `compiler::phases::frontend::parser::__parse__Module::__reduce` ← `<compiler::phases::frontend::parser::__parse__Module::__StateMachine as lalrpop_util::state_machine::ParserDefinition>::reduce` ← `lalrpop_util::state_machine::Parser<D,I>::reduce` (../../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lalrpop-util-0.20.2/src/state_machine.rs) ← `lalrpop_util::state_machine::Parser<D,I>::parse` ← `lalrpop_util::state_machine::Parser<D,I>::drive` ← `compiler::phases::frontend::parser::__parse__Module::ModuleParser::parse` (web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs) ← `compiler::phases::frontend::Program::parse_module` (web-lang/compiler/src/phases/frontend/mod.rs) ← `compiler::phases::frontend::Program::from_entry_point` ← `compiler::phases::frontend::run_frontend` |
|
|
460
|
+
| 7.4% | 19.0ms | 2 | `alloc::raw_vec::RawVecInner<A>::grow_amortized` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/raw_vec/mod.rs) ← `alloc::raw_vec::RawVecInner<A>::grow_one` ← `alloc::raw_vec::RawVec<T,A>::grow_one` ← `alloc::vec::Vec<T,A>::push_mut` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs) ← `alloc::vec::Vec<T,A>::push` ← `compiler::phases::frontend::parser::__action123` (web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs) ← `compiler::phases::frontend::parser::__parse__Module::__reduce153` ← `compiler::phases::frontend::parser::__parse__Module::__reduce` ← `<compiler::phases::frontend::parser::__parse__Module::__StateMachine as lalrpop_util::state_machine::ParserDefinition>::reduce` ← `lalrpop_util::state_machine::Parser<D,I>::reduce` (../../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lalrpop-util-0.20.2/src/state_machine.rs) ← `lalrpop_util::state_machine::Parser<D,I>::parse` ← `lalrpop_util::state_machine::Parser<D,I>::drive` ← `compiler::phases::frontend::parser::__parse__Module::ModuleParser::parse` (web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs) ← `compiler::phases::frontend::Program::parse_module` (web-lang/compiler/src/phases/frontend/mod.rs) ← `compiler::phases::frontend::Program::from_entry_point` ← `compiler::phases::frontend::run_frontend` |
|
|
461
|
+
| 5.8% | 15.0ms | 1 | `compiler::phases::middle_end::name_resolution::resolve_statement` (web-lang/compiler/src/phases/middle_end/name_resolution.rs) ← `compiler::phases::middle_end::name_resolution::resolve_module_item` ← `compiler::phases::middle_end::name_resolution::resolve_module` ← `compiler::phases::middle_end::name_resolution::resolve_names` ← `compiler::phases::middle_end::run_middle_end` (web-lang/compiler/src/phases/middle_end/mod.rs) |
|
|
462
|
+
| 4.7% | 12.0ms | 2 | `core::ptr::drop_in_place<[compiler::phases::backend::ir::Statement]>` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/mod.rs) ← `<alloc::vec::Vec<T,A> as core::ops::drop::Drop>::drop` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs) ← `core::ptr::drop_in_place<alloc::vec::Vec<compiler::phases::backend::ir::Statement>>` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/mod.rs) ← `core::ptr::drop_in_place<compiler::phases::backend::ir::Statement>` ← `compiler::phases::backend::code_gen::generate_code` (web-lang/compiler/src/phases/backend/code_gen.rs) ← `compiler::phases::backend::run_backend` (web-lang/compiler/src/phases/backend/mod.rs) |
|
|
463
|
+
| 4.3% | 11.0ms | 1 | `compiler::phases::backend::code_gen::visit_statement` (web-lang/compiler/src/phases/backend/code_gen.rs) ← `core::ops::function::FnMut::call_mut` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs) ← `core::iter::adapters::map::map_fold::{{closure}}` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/iter/adapters/map.rs) ← `<core::slice::iter::Iter<T> as core::iter::traits::iterator::Iterator>::fold` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/slice/iter/macros.rs) ← `<core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::fold` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/iter/adapters/map.rs) ← `core::iter::traits::iterator::Iterator::for_each` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs) ← `alloc::vec::Vec<T,A>::extend_trusted` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs) ← `<alloc::vec::Vec<T,A> as alloc::vec::spec_extend::SpecExtend<T,I>>::spec_extend` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/spec_extend.rs) ← `<alloc::vec::Vec<T> as alloc::vec::spec_from_iter_nested::SpecFromIterNested<T,I>>::from_iter` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/spec_from_iter_nested.rs) ← `<alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/spec_from_iter.rs) ← `<alloc::vec::Vec<T> as core::iter::traits::collect::FromIterator<T>>::from_iter` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs) ← `core::iter::traits::iterator::Iterator::collect` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs) ← `compiler::phases::backend::code_gen::visit_statement` (web-lang/compiler/src/phases/backend/code_gen.rs) ← `compiler::phases::backend::code_gen::generate_code` ← `compiler::phases::backend::run_backend` (web-lang/compiler/src/phases/backend/mod.rs) |
|
|
464
|
+
| 4.3% | 11.0ms | 2 | `compiler::phases::backend::ir::middle_statement_to_block_or_statement::{{closure}}` (web-lang/compiler/src/phases/backend/ir.rs) ← `core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &mut F>::call_once` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs) ← `core::option::Option<T>::map` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/option.rs) ← `<core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::next` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/iter/adapters/map.rs) ← `<core::iter::adapters::fuse::Fuse<I> as core::iter::adapters::fuse::FuseImpl<I>>::next` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/iter/adapters/fuse.rs) ← `<core::iter::adapters::fuse::Fuse<I> as core::iter::traits::iterator::Iterator>::next` ← `<core::iter::adapters::flatten::FlattenCompat<I,U> as core::iter::traits::iterator::Iterator>::next` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/iter/adapters/flatten.rs) ← `<core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next` ← `alloc::vec::Vec<T,A>::extend_desugared` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs) ← `<alloc::vec::Vec<T,A> as alloc::vec::spec_extend::SpecExtend<T,I>>::spec_extend` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/spec_extend.rs) ← `<alloc::vec::Vec<T> as alloc::vec::spec_from_iter_nested::SpecFromIterNested<T,I>>::from_iter` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/spec_from_iter_nested.rs) ← `<alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/spec_from_iter.rs) ← `<alloc::vec::Vec<T> as core::iter::traits::collect::FromIterator<T>>::from_iter` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs) ← `core::iter::traits::iterator::Iterator::collect` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs) ← `compiler::phases::backend::ir::middle_statement_to_block_or_statement` (web-lang/compiler/src/phases/backend/ir.rs) ← `compiler::phases::backend::ir::module_item_to_block_or_statement` ← `compiler::phases::backend::ir::module_to_basic_block` ← `compiler::phases::backend::ir::from_middle_end` ← `compiler::phases::backend::run_backend` (web-lang/compiler/src/phases/backend/mod.rs) |
|
|
465
|
+
| 4.3% | 11.0ms | 2 | `compiler::phases::middle_end::type_checking::visit_statement` (web-lang/compiler/src/phases/middle_end/type_checking.rs) ← `compiler::phases::middle_end::type_checking::visit_module_item` ← `compiler::phases::middle_end::type_checking::visit_module` ← `compiler::phases::middle_end::type_checking::check_types` ← `compiler::phases::middle_end::run_middle_end` (web-lang/compiler/src/phases/middle_end/mod.rs) |
|
|
466
|
+
| 3.5% | 9.0ms | 1 | `<T as alloc::slice::<impl [T]>::to_vec_in::ConvertVec>::to_vec` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/slice.rs) ← `alloc::slice::<impl [T]>::to_vec_in` ← `<alloc::vec::Vec<T,A> as core::clone::Clone>::clone` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs) ← `compiler::phases::middle_end::name_resolution::resolve_statement` (web-lang/compiler/src/phases/middle_end/name_resolution.rs) ← `compiler::phases::middle_end::name_resolution::resolve_module_item` ← `compiler::phases::middle_end::name_resolution::resolve_module` ← `compiler::phases::middle_end::name_resolution::resolve_names` ← `compiler::phases::middle_end::run_middle_end` (web-lang/compiler/src/phases/middle_end/mod.rs) |
|
|
467
|
+
| 3.1% | 8.0ms | 2 | `<compiler::phases::middle_end::ir::Statement as core::clone::Clone>::clone` ← `<T as alloc::slice::<impl [T]>::to_vec_in::ConvertVec>::to_vec` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/slice.rs) ← `alloc::slice::<impl [T]>::to_vec_in` ← `<alloc::vec::Vec<T,A> as core::clone::Clone>::clone` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs) ← `compiler::phases::middle_end::name_resolution::resolve_statement` (web-lang/compiler/src/phases/middle_end/name_resolution.rs) ← `compiler::phases::middle_end::name_resolution::resolve_module_item` ← `compiler::phases::middle_end::name_resolution::resolve_module` ← `compiler::phases::middle_end::name_resolution::resolve_names` ← `compiler::phases::middle_end::run_middle_end` (web-lang/compiler/src/phases/middle_end/mod.rs) |
|
|
468
|
+
| 3.1% | 8.0ms | 1 | `hashbrown::raw::RawTable<T,A>::reserve` (../../../../rust/deps/hashbrown-0.16.1/src/raw/mod.rs) ← `hashbrown::raw::RawTable<T,A>::find_or_find_insert_index` ← `hashbrown::map::HashMap<K,V,S,A>::find_or_find_insert_index` (../../../../rust/deps/hashbrown-0.16.1/src/map.rs) ← `hashbrown::map::HashMap<K,V,S,A>::insert` ← `std::collections::hash::map::HashMap<K,V,S,A>::insert` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/collections/hash/map.rs) ← `compiler::types::symbol_table::SymbolTable::set_value` (web-lang/compiler/src/types/symbol_table.rs) ← `compiler::phases::middle_end::name_resolution::Context::add_and_rename` (web-lang/compiler/src/phases/middle_end/name_resolution.rs) ← `compiler::phases::middle_end::name_resolution::resolve_statement` ← `compiler::phases::middle_end::name_resolution::resolve_block` ← `compiler::phases::middle_end::name_resolution::resolve_statement` ← `compiler::phases::middle_end::name_resolution::resolve_module_item` ← `compiler::phases::middle_end::name_resolution::resolve_module` ← `compiler::phases::middle_end::name_resolution::resolve_names` ← `compiler::phases::middle_end::run_middle_end` (web-lang/compiler/src/phases/middle_end/mod.rs) |
|
|
469
|
+
| 2.7% | 7.0ms | 1 | `compiler::phases::frontend::parser::__parse__Module::__reduce78` (web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs) ← `compiler::phases::frontend::parser::__parse__Module::__reduce` ← `<compiler::phases::frontend::parser::__parse__Module::__StateMachine as lalrpop_util::state_machine::ParserDefinition>::reduce` ← `lalrpop_util::state_machine::Parser<D,I>::reduce` (../../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lalrpop-util-0.20.2/src/state_machine.rs) ← `lalrpop_util::state_machine::Parser<D,I>::parse` ← `lalrpop_util::state_machine::Parser<D,I>::drive` ← `compiler::phases::frontend::parser::__parse__Module::ModuleParser::parse` (web-lang/compiler/target/profiling/build/web-compiler-969fc0c9ab6adc6a/out/parser.rs) ← `compiler::phases::frontend::Program::parse_module` (web-lang/compiler/src/phases/frontend/mod.rs) ← `compiler::phases::frontend::Program::from_entry_point` ← `compiler::phases::frontend::run_frontend` |
|
|
470
|
+
| 2.3% | 6.0ms | 3 | `compiler::phases::backend::code_gen::generate_code` (web-lang/compiler/src/phases/backend/code_gen.rs) ← `compiler::phases::backend::run_backend` (web-lang/compiler/src/phases/backend/mod.rs) |
|
|
471
|
+
| 1.9% | 5.0ms | 3 | `compiler::phases::backend::ir::middle_statement_to_block_or_statement` (web-lang/compiler/src/phases/backend/ir.rs) ← `compiler::phases::backend::ir::middle_statement_to_block_or_statement::{{closure}}` ← `core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &mut F>::call_once` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs) ← `core::option::Option<T>::map` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/option.rs) ← `<core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::next` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/iter/adapters/map.rs) ← `<core::iter::adapters::fuse::Fuse<I> as core::iter::adapters::fuse::FuseImpl<I>>::next` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/iter/adapters/fuse.rs) ← `<core::iter::adapters::fuse::Fuse<I> as core::iter::traits::iterator::Iterator>::next` ← `<core::iter::adapters::flatten::FlattenCompat<I,U> as core::iter::traits::iterator::Iterator>::next` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/iter/adapters/flatten.rs) ← `<core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next` ← `alloc::vec::Vec<T,A>::extend_desugared` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs) ← `<alloc::vec::Vec<T,A> as alloc::vec::spec_extend::SpecExtend<T,I>>::spec_extend` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/spec_extend.rs) ← `<alloc::vec::Vec<T> as alloc::vec::spec_from_iter_nested::SpecFromIterNested<T,I>>::from_iter` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/spec_from_iter_nested.rs) ← `<alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/spec_from_iter.rs) ← `<alloc::vec::Vec<T> as core::iter::traits::collect::FromIterator<T>>::from_iter` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs) ← `core::iter::traits::iterator::Iterator::collect` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs) ← `compiler::phases::backend::ir::middle_statement_to_block_or_statement` (web-lang/compiler/src/phases/backend/ir.rs) ← `compiler::phases::backend::ir::module_item_to_block_or_statement` ← `compiler::phases::backend::ir::module_to_basic_block` ← `compiler::phases::backend::ir::from_middle_end` ← `compiler::phases::backend::run_backend` (web-lang/compiler/src/phases/backend/mod.rs) |
|
|
472
|
+
| 1.9% | 5.0ms | 2 | `<T as core::clone::uninit::CopySpec>::clone_one` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/clone/uninit.rs) ← `<T as core::clone::CloneToUninit>::clone_to_uninit` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/clone.rs) ← `<alloc::boxed::Box<T,A> as core::clone::Clone>::clone` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/boxed.rs) ← `<compiler::phases::middle_end::ir::ExpressionKind as core::clone::Clone>::clone` (web-lang/compiler/src/phases/middle_end/ir.rs) ← `<compiler::phases::middle_end::ir::Expression as core::clone::Clone>::clone` ← `<compiler::phases::middle_end::ir::Statement as core::clone::Clone>::clone` ← `<T as alloc::slice::<impl [T]>::to_vec_in::ConvertVec>::to_vec` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/slice.rs) ← `alloc::slice::<impl [T]>::to_vec_in` ← `<alloc::vec::Vec<T,A> as core::clone::Clone>::clone` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs) ← `compiler::phases::middle_end::name_resolution::resolve_statement` (web-lang/compiler/src/phases/middle_end/name_resolution.rs) ← `compiler::phases::middle_end::name_resolution::resolve_module_item` ← `compiler::phases::middle_end::name_resolution::resolve_module` ← `compiler::phases::middle_end::name_resolution::resolve_names` ← `compiler::phases::middle_end::run_middle_end` (web-lang/compiler/src/phases/middle_end/mod.rs) |
|
|
473
|
+
| 1.9% | 5.0ms | 4 | `core::ptr::drop_in_place<compiler::phases::backend::ir::Statement>` ← `core::ptr::drop_in_place<[compiler::phases::backend::ir::Statement]>` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/mod.rs) ← `<alloc::vec::Vec<T,A> as core::ops::drop::Drop>::drop` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs) ← `core::ptr::drop_in_place<alloc::vec::Vec<compiler::phases::backend::ir::Statement>>` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/mod.rs) ← `core::ptr::drop_in_place<compiler::phases::backend::ir::Statement>` ← `compiler::phases::backend::code_gen::generate_code` (web-lang/compiler/src/phases/backend/code_gen.rs) ← `compiler::phases::backend::run_backend` (web-lang/compiler/src/phases/backend/mod.rs) |
|
|
474
|
+
| 1.9% | 5.0ms | 2 | `compiler::phases::middle_end::type_checking::visit_statement` (web-lang/compiler/src/phases/middle_end/type_checking.rs) ← `compiler::phases::middle_end::type_checking::visit_statement` ← `compiler::phases::middle_end::type_checking::visit_module_item` ← `compiler::phases::middle_end::type_checking::visit_module` ← `compiler::phases::middle_end::type_checking::check_types` ← `compiler::phases::middle_end::run_middle_end` (web-lang/compiler/src/phases/middle_end/mod.rs) |
|
|
475
|
+
| 1.6% | 4.0ms | 3 | `compiler::phases::backend::ir::expression_to_block` (web-lang/compiler/src/phases/backend/ir.rs) ← `compiler::phases::backend::ir::middle_statement_to_block_or_statement` ← `compiler::phases::backend::ir::middle_statement_to_block_or_statement::{{closure}}` ← `core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &mut F>::call_once` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs) ← `core::option::Option<T>::map` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/option.rs) ← `<core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::next` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/iter/adapters/map.rs) ← `<core::iter::adapters::fuse::Fuse<I> as core::iter::adapters::fuse::FuseImpl<I>>::next` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/iter/adapters/fuse.rs) ← `<core::iter::adapters::fuse::Fuse<I> as core::iter::traits::iterator::Iterator>::next` ← `<core::iter::adapters::flatten::FlattenCompat<I,U> as core::iter::traits::iterator::Iterator>::next` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/iter/adapters/flatten.rs) ← `<core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next` ← `alloc::vec::Vec<T,A>::extend_desugared` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs) ← `<alloc::vec::Vec<T,A> as alloc::vec::spec_extend::SpecExtend<T,I>>::spec_extend` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/spec_extend.rs) ← `<alloc::vec::Vec<T> as alloc::vec::spec_from_iter_nested::SpecFromIterNested<T,I>>::from_iter` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/spec_from_iter_nested.rs) ← `<alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/spec_from_iter.rs) ← `<alloc::vec::Vec<T> as core::iter::traits::collect::FromIterator<T>>::from_iter` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/alloc/src/vec/mod.rs) ← `core::iter::traits::iterator::Iterator::collect` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs) ← `compiler::phases::backend::ir::middle_statement_to_block_or_statement` (web-lang/compiler/src/phases/backend/ir.rs) ← `compiler::phases::backend::ir::module_item_to_block_or_statement` ← `compiler::phases::backend::ir::module_to_basic_block` ← `compiler::phases::backend::ir::from_middle_end` ← `compiler::phases::backend::run_backend` (web-lang/compiler/src/phases/backend/mod.rs) |
|
|
476
|
+
| 1.6% | 4.0ms | 1 | `core::ptr::drop_in_place<(alloc::string::String,compiler::phases::frontend::ir::Module)>` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/mod.rs) ← `core::ptr::mut_ptr::<impl *mut T>::drop_in_place` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/mut_ptr.rs) ← `hashbrown::raw::Bucket<T>::drop` (../../../../rust/deps/hashbrown-0.16.1/src/raw/mod.rs) ← `hashbrown::raw::RawTableInner::drop_elements` ← `hashbrown::raw::RawTableInner::drop_inner_table` ← `<hashbrown::raw::RawTable<T,A> as core::ops::drop::Drop>::drop` ← `core::ptr::drop_in_place<hashbrown::raw::RawTable<(alloc::string::String,compiler::phases::frontend::ir::Module)>>` (../../.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/mod.rs) ← `core::ptr::drop_in_place<hashbrown::map::HashMap<alloc::string::String,compiler::phases::frontend::ir::Module,std::hash::random::RandomState>>` ← `core::ptr::drop_in_place<std::collections::hash::map::HashMap<alloc::string::String,compiler::phases::frontend::ir::Module>>` ← `core::ptr::drop_in_place<compiler::phases::frontend::Program>` ← `compiler::phases::middle_end::run_middle_end` (web-lang/compiler/src/phases/middle_end/mod.rs) |
|
|
477
|
+
| 1.6% | 4.0ms | 1 | `compiler::phases::middle_end::name_resolution::Context::add_and_rename` (web-lang/compiler/src/phases/middle_end/name_resolution.rs) ← `compiler::phases::middle_end::name_resolution::resolve_statement` ← `compiler::phases::middle_end::name_resolution::resolve_block` ← `compiler::phases::middle_end::name_resolution::resolve_statement` ← `compiler::phases::middle_end::name_resolution::resolve_module_item` ← `compiler::phases::middle_end::name_resolution::resolve_module` ← `compiler::phases::middle_end::name_resolution::resolve_names` ← `compiler::phases::middle_end::run_middle_end` (web-lang/compiler/src/phases/middle_end/mod.rs) |
|