From 8a3ceaf34c2db4137dc10d7557172e0c0c9fa6f9 Mon Sep 17 00:00:00 2001
From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com>
Date: Sun, 16 Apr 2017 02:08:49 +0300
Subject: [PATCH] Retargeted to W10/toolset 141/.NET 4.7; updated performance
for dual-core CPU
---
README.md | 14 +++++++-------
dotnet/TrustPilotChallenge.sln | 4 ++--
.../WhiteRabbit.UnmanagedBridge.vcxproj | 12 ++++++------
dotnet/WhiteRabbit/App.config | 2 +-
dotnet/WhiteRabbit/WhiteRabbit.csproj | 2 +-
5 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/README.md b/README.md
index 60613ce..99c7052 100644
--- a/README.md
+++ b/README.md
@@ -41,16 +41,16 @@ That's why the given hashes are solved much sooner than it takes to check all an
Anagrams generation is not parallelized, as even single-threaded performance for 4-word anagrams is high enough; and 5-word (or larger) anagrams are frequent enough for most of the time being spent on computing hashes, with full CPU load.
-Multi-threaded performance with RyuJIT (.NET 4.6, 64-bit system) on quad-core Sandy Bridge @2.8GHz (without AVX2 support) is as follows (excluding initialization time of 0.2 seconds), for different maximum allowed words in an anagram:
+Multi-threaded performance with RyuJIT (.NET 4.6, 64-bit system) on laptop with dual-core Sandy Bridge @2.6GHz (without AVX2 support) is as follows (excluding initialization time of 0.2 seconds), for different maximum allowed words in an anagram:
Number of words|Time to check all anagrams no longer than that|Time to solve "easy" hash|Time to solve "more difficult" hash|Time to solve "hard" hash|Number of anagrams no longer than that (see note below)
---------------|----------------------------------------------|-------------------------|-----------------------------------|-------------------------|-------------------------------------------------------
-3|Fractions of a second||||4560
-4|0.55s|||0.1s|7,433,016
-5|46s|||1.1s|1,348,876,896
-6|34 minutes|||15s|58,837,302,096
-7|11 hours (?)|45s|6.5s|2 minutes|1,108,328,708,976
-8||4 minutes|27s|11 minutes|12,089,249,231,856
+3|0.1s||||4560
+4|0.8s|||0.15s|7,433,016
+5|87s|1s|0.3s|2s|1,348,876,896
+6|1 hour (?)|10s|1.7s|25s|58,837,302,096
+7|11 hours (?)|78s|9s|3.5 minutes|1,108,328,708,976
+8||7.5 minutes|50s|20 minutes|12,089,249,231,856
9|||||88,977,349,731,696
10|||||482,627,715,786,096
11|||||2,030,917,440,675,696
diff --git a/dotnet/TrustPilotChallenge.sln b/dotnet/TrustPilotChallenge.sln
index 2be655e..c343cc3 100644
--- a/dotnet/TrustPilotChallenge.sln
+++ b/dotnet/TrustPilotChallenge.sln
@@ -1,7 +1,7 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 14
-VisualStudioVersion = 14.0.25420.1
+# Visual Studio 15
+VisualStudioVersion = 15.0.26403.3
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WhiteRabbit", "WhiteRabbit\WhiteRabbit.csproj", "{3A4E69F0-7A8E-4B92-BA02-A231D75CB3E4}"
EndProject
diff --git a/dotnet/WhiteRabbit.UnmanagedBridge/WhiteRabbit.UnmanagedBridge.vcxproj b/dotnet/WhiteRabbit.UnmanagedBridge/WhiteRabbit.UnmanagedBridge.vcxproj
index c870702..f430937 100644
--- a/dotnet/WhiteRabbit.UnmanagedBridge/WhiteRabbit.UnmanagedBridge.vcxproj
+++ b/dotnet/WhiteRabbit.UnmanagedBridge/WhiteRabbit.UnmanagedBridge.vcxproj
@@ -20,37 +20,37 @@
{039F03A0-7E8F-415D-8180-969D24479B44}
- v4.5
+ v4.7
ManagedCProj
WhiteRabbitUnmanagedBridge
- 8.1
+ 10.0.10586.0
DynamicLibrary
true
- v140
+ v141
true
Unicode
DynamicLibrary
false
- v140
+ v141
true
Unicode
DynamicLibrary
true
- v140
+ v141
true
Unicode
DynamicLibrary
false
- v140
+ v141
true
Unicode
diff --git a/dotnet/WhiteRabbit/App.config b/dotnet/WhiteRabbit/App.config
index a1dcaba..eb6b555 100644
--- a/dotnet/WhiteRabbit/App.config
+++ b/dotnet/WhiteRabbit/App.config
@@ -1,7 +1,7 @@
-
+
diff --git a/dotnet/WhiteRabbit/WhiteRabbit.csproj b/dotnet/WhiteRabbit/WhiteRabbit.csproj
index 5549f68..4355ab4 100644
--- a/dotnet/WhiteRabbit/WhiteRabbit.csproj
+++ b/dotnet/WhiteRabbit/WhiteRabbit.csproj
@@ -9,7 +9,7 @@
Properties
WhiteRabbit
WhiteRabbit
- v4.6.1
+ v4.7
512
true
true