-
Notifications
You must be signed in to change notification settings - Fork 1
EgorBot for EgorBo in #108153 #106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Benchmark results on
|
Method | Toolchain | Mean | Error | Ratio | Allocated | Alloc Ratio |
---|---|---|---|---|---|---|
Test | Main | 1.900 μs | 0.0098 μs | 1.00 | 32 B | 1.00 |
Test | PR | 1.629 μs | 0.0317 μs | 0.86 | 32 B | 1.00 |
@EgorBot -commit main -gv4 -profiler using BenchmarkDotNet.Attributes;
public class Bench
{
IList<int> list = new int[1024];
[Benchmark]
public int Test()
{
int sum = 0;
foreach (var i in list)
sum += i;
return sum;
}
} |
Benchmark results on
|
Method | Mean | Error |
---|---|---|
Test | 2.242 μs | 0.0005 μs |
Profile for Bench_Test
:
Flame graphs: Main 🔥
Speedscope: Main
Hot asm: Main
Hot functions: Main
Counters: Main
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Processing dotnet/runtime#108153 (comment) command:
Command
-intel
(EgorBot will reply in this issue)
The text was updated successfully, but these errors were encountered: