-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(scripts): Use
cargo profile instruments
instead of `cargo ins…
…truments` (#3086)
- Loading branch information
Showing
6 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env bash | ||
set -eu | ||
|
||
cargo profile instruments --release -t time --bench typescript --features concurrent,tracing/release_max_level_info $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env bash | ||
set -eu | ||
|
||
cargo instruments --release -t time --example bundle --features concurrent,tracing/release_max_level_info -- $@ | ||
cargo profile instruments --release -t time --example bundle --features concurrent,tracing/release_max_level_info -- $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env bash | ||
set -eu | ||
|
||
cargo instruments --release -t time --example gen --features tracing/release_max_level_info -- $@ | ||
cargo profile instruments --release -t time --example gen --features tracing/release_max_level_info -- $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env bash | ||
set -eu | ||
|
||
cargo instruments --release -t time --open --features tracing/release_max_level_info --example perf -- $@ | ||
cargo profile instruments --release -t time --open --features tracing/release_max_level_info --example perf -- $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env bash | ||
set -eu | ||
|
||
cargo instruments --release -t time --features log/release_max_level_info --example perf | ||
cargo profile instruments --release -t time --features log/release_max_level_info --example perf |
This file was deleted.
Oops, something went wrong.
d482d61
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark
full_es2015
168609349
ns/iter (± 15694735
)216743845
ns/iter (± 8327564
)0.78
full_es2016
141486733
ns/iter (± 24849178
)180407795
ns/iter (± 7438183
)0.78
full_es2017
147015676
ns/iter (± 18536459
)187232923
ns/iter (± 10177988
)0.79
full_es2018
159168187
ns/iter (± 17543070
)186815606
ns/iter (± 9282565
)0.85
full_es2019
158095098
ns/iter (± 9147086
)183742573
ns/iter (± 14718298
)0.86
full_es2020
156832369
ns/iter (± 6951721
)183652384
ns/iter (± 22341679
)0.85
full_es3
219823227
ns/iter (± 10648526
)256824023
ns/iter (± 15553524
)0.86
full_es5
199301270
ns/iter (± 7954940
)233767939
ns/iter (± 17754501
)0.85
parser
699021
ns/iter (± 23590
)804829
ns/iter (± 17121
)0.87
This comment was automatically generated by workflow using github-action-benchmark.