From 0684148d54e8839ced859e63906449368188d46e Mon Sep 17 00:00:00 2001 From: Charlie Blake Date: Mon, 11 Jun 2018 17:23:05 +0100 Subject: Speedup build and add lru cache --- build-notes.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'build-notes.md') diff --git a/build-notes.md b/build-notes.md index ae6d386..c7aca09 100644 --- a/build-notes.md +++ b/build-notes.md @@ -52,8 +52,5 @@ Note: this doesn't have to (and probably shouldn't) be run from within the proje To get line numbers, you will first need to change the release build from -03 to -02 -env CPUPROFILE=solvitaire.prof CPUPROFILESIGNAL=12 CPUPROFILE_FREQUENCY=1000 cmake-build-release/bin/solvitaire --type spanish-patience --random 4 --classify & -killall -12 solvitaire (start profiling) -killall -12 solvitaire (stop profiling) -pprof --callgrind src/ solvitaire.prof.0 > solvitaire.callgrind (ignore any warnings) -kcachegrind solvitaire.callgrind +valgrind --tool=callgrind --log-file=callgrind.log cmake-build-release/bin/solvitaire ... +kcachegrind callgrind.out._ -- cgit v1.2.1