diff options
author | Stefan Giehl <stefan@matomo.org> | 2020-04-17 16:00:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-17 16:00:51 +0300 |
commit | 6936b93cba5150e0eaa879aebf3662b3e279d045 (patch) | |
tree | c63c93f92bc31479aa70d463939ef144eeb83e66 /plugins/Live/tests/Fixtures | |
parent | 3c50481031e8b8ad647d8a74802e9558cebe41ce (diff) |
New page performance reports (#15736)
* Adds various new performance metrics and dimensions
* Adds tracking for new performance values
* track performance metrics only for page views
* Archive new performance metrics
* move everything into a new plugin
* fix archiving of overall metrics
* Adds new overview reports
* show performance metric on some more reports
* adds new page performance icon
* Adds new row action to view page performance evolution for pages
* Adds new stacked bar visualization for page performance evolutions
* show total value in stacked bar chart tooltips
* [TEMP] use php tracker package branch
* Adds some simple System tests
* Adds some UI tests
* remove performance metrics from action reports that don't support it
* move calculation to api
* mark as tracker plugin
* improve calculation of maximum value in bar evolution chart
* enrich existing tests with performance metrics
* updates expected test files
* send performance metrics with the next request after they are available
this might not be the pageview it self but any request after it, like a ping, goal, ...
* Adds request processor to process performance metrics not sent directly with the page view
* rebuilt js
* Add metric decriptions to evolution chart documentation
* fix convertion of microseconds part
* Ensure average page load time is displayed in evolution graph in scheduled reports
* fix some more tests
* move page performance overview to visitors overview
* Adds new table with performance metrics visualization
* Adds some additional information to page performance evolution overlay
* update omnifixture
* updates expected UI files
* Use mediumints for new dimensions
* Adds additional permission check
* Encode label in page performance overlay title
* Improve updating performance metrics in later requests
* Adds some integration tests
* improves metric documentations
* Send already available performance data with page view request
* update tests
* updates expected UI test screenshots
* updates expected test files
* improves archiving
* show page generation time in performance metrics table if matomo was installed before 4.0
* Hide page generation time in ui reports if Matomo was installed after 4.0
* Fix removal of unavailable columns from being displayed
that was done too early in the process causing to be overwritten again by the reports configureView
* do not track automatically calculated generation time any more
* split latency into network and server time
* [TEMP] update php tracker
* rebuilt piwik.js
* Ensure to count zero values as hits
* updates Omnifixture
* updates expected test files
* remove possibility to set generation time
* rebuilt piwik.js
* adjust tests
* update php tracker
* update test logs
* submodule
* update Omnifixture
* show page load time in action tooltip and visitor summary instead of generation time
* updates expected ui files
* mark page generation time metric as deprecated
* fix tests
* [TEMP] use submodule branches
* ensure lower metric values are shown as better
* use 4.x-dev branch of php-tracker
* update submodules
Diffstat (limited to 'plugins/Live/tests/Fixtures')
-rw-r--r-- | plugins/Live/tests/Fixtures/VisitsWithAllActionsAndDevices.php | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/plugins/Live/tests/Fixtures/VisitsWithAllActionsAndDevices.php b/plugins/Live/tests/Fixtures/VisitsWithAllActionsAndDevices.php index f61aa3b16f..144646070e 100644 --- a/plugins/Live/tests/Fixtures/VisitsWithAllActionsAndDevices.php +++ b/plugins/Live/tests/Fixtures/VisitsWithAllActionsAndDevices.php @@ -81,7 +81,7 @@ class VisitsWithAllActionsAndDevices extends Fixture $t->setLongitude(139.71); $t->setUrl('http://example.org/'); - $t->setGenerationTime(251); + $t->setPerformanceTimings(12, 256, 222, 345, 158, 111); $t->setDebugStringAppend('bw_bytes=12053'); self::checkResponse($t->doTrackPageView('home')); @@ -98,7 +98,7 @@ class VisitsWithAllActionsAndDevices extends Fixture $t->setUrl('http://example.org/product42'); $t->setCustomTrackingParameter('dimension2', 'NZD'); $t->setEcommerceView($sku = 'P42X4D', $name = 'product 42', $category = 'software', $price = 60); - $t->setGenerationTime(83); + $t->setPerformanceTimings(33, 222, 356, 444, 522, 211); $t->setDebugStringAppend('bw_bytes=36053'); self::checkResponse($t->doTrackPageView('product 42')); @@ -112,7 +112,7 @@ class VisitsWithAllActionsAndDevices extends Fixture $t->setForceVisitDateTime(Date::factory($dateTime)->addHour(0.25)->getDatetime()); $t->setUrl('http://example.org/search'); - $t->setGenerationTime(318); + $t->setPerformanceTimings(99, 123, 288, 346, 444, 56); $t->setDebugStringAppend('bw_bytes=2583'); self::checkResponse($t->doTrackPageView('product search')); @@ -130,7 +130,7 @@ class VisitsWithAllActionsAndDevices extends Fixture $t->setUrl('http://example.org/fancyproduct'); $t->setEcommerceView($sku = 'F4NCYX', $name = 'fancy product', $category = 'software', $price = 40); - $t->setGenerationTime(151); + $t->setPerformanceTimings(75, 199, 245, 288, 321, 123); $t->setDebugStringAppend('bw_bytes=68895'); self::checkResponse($t->doTrackPageView('fancy product')); @@ -139,7 +139,7 @@ class VisitsWithAllActionsAndDevices extends Fixture self::checkResponse($t->doTrackEcommerceCartUpdate(140)); $t->setUrl('http://example.org/cart'); - $t->setGenerationTime(33); + $t->setPerformanceTimings(0, 325, 165, 258, 333, 88); $t->setDebugStringAppend('bw_bytes=1590'); self::checkResponse($t->doTrackPageView('cart')); @@ -154,7 +154,7 @@ class VisitsWithAllActionsAndDevices extends Fixture $t->setUrlReferrer('http://www.google.com/search?q=product%2042'); $t->setUrl('http://example.org/product42'); - $t->setGenerationTime(96); + $t->setPerformanceTimings(55, 348, 256, 299, 165, 144); $t->setDebugStringAppend('bw_bytes=6851'); $t->setCustomVariable(1, 'custom', 'variable', 'page'); $t->setCustomTrackingParameter('dimension1', '42'); @@ -168,19 +168,19 @@ class VisitsWithAllActionsAndDevices extends Fixture $t->setForceVisitDateTime(Date::factory($dateTime)->addHour(0.2)->getDatetime()); $t->setUrl('http://example.org/'); - $t->setGenerationTime(511); + $t->setPerformanceTimings(78, 198, 245, 398, 400, 100); $t->setDebugStringAppend('bw_bytes=2012'); self::checkResponse($t->doTrackPageView('home')); $t->setForceVisitDateTime(Date::factory($dateTime)->addHour(0.2)->getDatetime()); $t->setUrl('http://example.org/'); - $t->setGenerationTime(511); + $t->setPerformanceTimings(55, 222, 562, 359, 461, 67); $t->setDebugStringAppend('bw_bytes=2012'); self::checkResponse($t->doTrackPageView('home')); $t->setForceVisitDateTime(Date::factory($dateTime)->addHour(0.2)->getDatetime()); $t->setUrl('http://example.org/'); - $t->setGenerationTime(222); + $t->setPerformanceTimings(75, 333, 1000, 299, 156, 99); $t->setDebugStringAppend('bw_bytes=950'); self::checkResponse($t->doTrackPageView('home')); @@ -196,7 +196,7 @@ class VisitsWithAllActionsAndDevices extends Fixture $t->setCustomVariable(1, 'promo', 'summer', 'visit'); $t->setCustomTrackingParameter('dimension1', '16'); $t->setUrl('http://example.org/'); - $t->setGenerationTime(195); + $t->setPerformanceTimings(0, 255, 319, 395, 222, 92); $t->setDebugStringAppend('bw_bytes=631'); self::checkResponse($t->doTrackPageView('home')); @@ -208,7 +208,7 @@ class VisitsWithAllActionsAndDevices extends Fixture $t->setForceVisitDateTime(Date::factory($dateTime)->addHour(0.6)->getDatetime()); $t->setUrl(''); - $t->setGenerationTime(156); + $t->setPerformanceTimings(null, null, null, null, null, null); $t->setDebugStringAppend('bw_bytes=1254'); self::checkResponse($t->doTrackPageView('Action without url')); } @@ -219,7 +219,7 @@ class VisitsWithAllActionsAndDevices extends Fixture $t->setUserAgent($useragent); $t->setUrl('http://example.org/'); - $t->setGenerationTime(111); + $t->setPerformanceTimings(88, 165, 247, 355, 401, 196); $t->setDebugStringAppend('bw_bytes=555'); self::checkResponse($t->doTrackPageView('home')); |