diff options
author | Timo Besenreuther <timo.besenreuther@gmail.com> | 2013-03-20 20:31:11 +0400 |
---|---|---|
committer | Timo Besenreuther <timo.besenreuther@gmail.com> | 2013-03-20 20:31:11 +0400 |
commit | 3ac47e89eb7cc6024cffad435e9a6ef2a29488ff (patch) | |
tree | 997a029d03873eb05de51d41e9a295dda0873aec /tests | |
parent | 55727244bb9c1375bc9f19c720836f3400f0e155 (diff) |
visitor log improvements
* use a limit for the number of actions that are loaded for every visit. without a limit, the web server might crash (e.g. when there are 100K+ page views in one visit after a log import)
* regular pagination in visitor log. (a) performance improvement: use indexes in the select query. (b) bug fix: the old logic was incorrect. in one setup, there are 10K+ visits but the visitor log only showed one full page and one page with one visit.
* removed reference to trunk from tests read me
Diffstat (limited to 'tests')
-rw-r--r-- | tests/README.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/README.md b/tests/README.md index 3af99f1d45..f766013cf2 100644 --- a/tests/README.md +++ b/tests/README.md @@ -141,7 +141,7 @@ which you can use to run PHPUnit tests in your browser. ### Starting VisualPHPUnit -To load VisualPHPUnit point your browser to http://path/to/piwik/trunk/tests/lib/visualphpunit/. +To load VisualPHPUnit point your browser to http://path/to/piwik/tests/lib/visualphpunit/. VisualPHPUnit will already be configured for use with Piwik. @@ -215,7 +215,7 @@ First, XHProf must be built (this guide assumes you're using a linux variant): * Navigate to the XHProf extension directory. - $ cd /path/to/piwik/trunk/tests/lib/xhprof-0.9.2/extension + $ cd /path/to/piwik/tests/lib/xhprof-0.9.2/extension * Build XHProf. @@ -228,7 +228,7 @@ First, XHProf must be built (this guide assumes you're using a linux variant): ``` [xhprof] - extension=/path/to/piwik/trunk/tests/lib/xhprof-0.9.2/extension/modules/xhprof.so + extension=/path/to/piwik/tests/lib/xhprof-0.9.2/extension/modules/xhprof.so xhprof.output_dir=/path/to/output/dir ``` @@ -242,7 +242,7 @@ is installed and act accordingly. To use XHProf, first load VisualPHPUnit by pointing your browser to: -http://path/to/piwik/trunk/tests/lib/visualphpunit/ +http://path/to/piwik/tests/lib/visualphpunit/ Select a test or get ready to run a benchmark. Make sure the 'Profile with XHProf' select box is set to 'Yes' and click 'Run Tests'. |