It's a benchmark of GitHub Actions(Azure) vs a really old Macbook Pro 15, not exactly what you are looking for, but it tells the vibe already.
https://buildjet.com/for-github-actions/blog/a-performance-r...
64 karma · joined March 1, 2021
https://buildjet.com/for-github-actions/blog/a-performance-r...
[0] https://buildjet.com/for-github-actions/blog/a-performance-r...
edited: wrong link
using var file = File.OpenRead("file.bin");
var counter = 0;
var sw = Stopwatch.StartNew();
var buf = new byte[4096];
while (file.Read(buf,0,buf.Length) > 0)
{
foreach (var t in buf)
{
if (t == '1')
{
counter++;
}
}
}
sw.Stop();
Console.WriteLine($"Counted {counter:N0} 1s in {sw.Elapsed.TotalMilliseconds:N4} milliseconds");