mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
Merge #8839
8839: minor: more useful bench r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
260bcd942b
@ -123,7 +123,7 @@ fn integrated_completion_benchmark() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
{
|
{
|
||||||
let _it = stdx::timeit("unqualified path completion");
|
let _p = profile::span("unqualified path completion");
|
||||||
let _span = profile::cpu_span();
|
let _span = profile::cpu_span();
|
||||||
let analysis = host.analysis();
|
let analysis = host.analysis();
|
||||||
let config = CompletionConfig {
|
let config = CompletionConfig {
|
||||||
@ -156,7 +156,7 @@ fn integrated_completion_benchmark() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
{
|
{
|
||||||
let _it = stdx::timeit("dot completion");
|
let _p = profile::span("dot completion");
|
||||||
let _span = profile::cpu_span();
|
let _span = profile::cpu_span();
|
||||||
let analysis = host.analysis();
|
let analysis = host.analysis();
|
||||||
let config = CompletionConfig {
|
let config = CompletionConfig {
|
||||||
|
Loading…
Reference in New Issue
Block a user