aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2018-09-18 10:55:35 +0000
committerPjotr Prins2018-09-18 10:55:35 +0000
commit73f7789743b50eca42d8ba7b95f0654ccd1825bf (patch)
tree984b64d0a4390cb2668ad9b54acf49f2386bdb77
parent1f1c6c35f7e53f5108b94429b001ed0aee2f4d36 (diff)
downloadpangemma-73f7789743b50eca42d8ba7b95f0654ccd1825bf.tar.gz
Profiling
-rw-r--r--INSTALL.md1
-rw-r--r--test/performance/releases.org12
2 files changed, 13 insertions, 0 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 9b10339..1231147 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -187,6 +187,7 @@ The gcc version has profiling support, run with
make PROFILING=1
+
### OpenBlas
Linking against a built-from-source OpenBlas is a first optimization
diff --git a/test/performance/releases.org b/test/performance/releases.org
index 30c96f8..4f1f68b 100644
--- a/test/performance/releases.org
+++ b/test/performance/releases.org
@@ -49,6 +49,18 @@ user 0m29.768s
sys 0m1.544s
#+END_SRC
+Running the GNU profiler I got K to be faster by removing the regexs
+
+#+BEGIN_SRC
+real 0m16.811s
+user 0m37.788s
+sys 0m2.168s
+#+END_SRC
+
+there is still some scope for improvement by changing safeGetLine and
+do_strtok_safe methods as well as less string copying during
+tokenization. I may get to that at some point.
+
Running the GNU profiler on the MVLMM one rendered
#+BEGIN_SRC