From d43d4d1b814d266a9bc1ffae64b8df9bf32e5d48 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Tue, 16 May 2017 13:49:54 +0100 Subject: [PATCH] Updated readme --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4af5479..5366388 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ This is a test reimplementing MD5 using pure managed C# code, with uint, System.Numerics.Vectors.Vector and Mono.Simd.Vector4ui. +``` System.Numerics.Vector.IsHardwareAccelerated = false. BenchmarkDotNet=v0.10.6, OS=Mac OS X 10.11 Processor=Intel Core2 Duo CPU P8700 2.53GHz, ProcessorCount=2 @@ -14,8 +15,10 @@ Frequency=10000000 Hz, Resolution=100.0000 ns, Timer=UNKNOWN Md5Managed | 1.978 ms | 0.0385 ms | 0.0360 ms | 175.97% | Md5Vectorized | 67.204 ms | 1.1802 ms | 1.0462 ms | 5979.00% | Md5Mono | 8.377 ms | 0.1606 ms | 0.1502 ms | 745.28% | +``` +``` System.Numerics.Vector.IsHardwareAccelerated = true. BenchmarkDotNet=v0.10.6, OS=Windows 10.0.16193 Processor=AMD Phenom(tm) 9650 Quad-Core Processor, ProcessorCount=4 @@ -29,8 +32,10 @@ Frequency=2246249 Hz, Resolution=445.1866 ns, Timer=TSC Md5 | 212.0 us | 0.9392 us | 0.8785 us | 100.00% | Md5Managed | 734.2 us | 1.9787 us | 1.6523 us | 346.32% | Md5Vectorized | 2,817.4 us | 3.9387 us | 3.2890 us | 1328.96% | +``` +``` System.Numerics.Vector.IsHardwareAccelerated = false. BenchmarkDotNet=v0.10.6, OS=Linux Processor=Intel Xeon CPU E5-2690 v3 2.60GHz, ProcessorCount=24 @@ -44,4 +49,5 @@ Frequency=10000000 Hz, Resolution=100.0000 ns, Timer=UNKNOWN Md5 | 272.5 us | 1.733 us | 1.253 us | 100.00% | Md5Managed | 750.7 us | 8.095 us | 7.572 us | 275.49% | Md5Vectorized | 20,467.7 us | 181.869 us | 161.222 us | 7511.08% | - Md5Mono | 2,628.7 us | 30.470 us | 27.011 us | 964.66% | \ No newline at end of file + Md5Mono | 2,628.7 us | 30.470 us | 27.011 us | 964.66% | +``` \ No newline at end of file