Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-11-20Improve serialize dataTable performance (#12289)Thomas Steur
* Improve serialize dataTable performance This seems to improve the performance of serializing a data table which is useful when archiving. In my case it made the archiving of a monthly archive twice as fast from about 120 seconds down to like 70seconds. * remove no longer needed variable * faster check whether an array key is set It is known that array_key_exists is quite a bit slower than `isset`. As this is executed easily a few million times this makes a difference in performance but here `array_key_exists` and `isset` work the same in logic as we never set `$consecutiveSubtableIds[$id]=null` * Assignment should be no longer needed as passing by reference
2016-12-03Fix a bug where Piwik returns wrong rows by label (#10947)Thomas Steur
* Fix a bug where Piwik returns wrong rows by label * fix typo * added test
2016-11-01Removes deprecated method Archive::getDataTableFromArchivesgiehl
2016-03-08Merge master => 3.0Thomas Steur
2015-12-10Merge master into "3.0"Thomas Steur
Conflicts: .travis.yml CHANGELOG.md core/Plugin/ControllerAdmin.php core/Version.php core/testMinimumPhpVersion.php plugins/API/API.php plugins/Actions/Reports/GetPageUrls.php plugins/AnonymousPiwikUsageMeasurement plugins/CoreHome/CoreHome.php plugins/CoreHome/templates/_menu.twig plugins/CoreVisualizations/javascripts/jqplotEvolutionGraph.js plugins/CustomVariables/tests/System/expected/test_CustomVariablesSystemTest__CustomVariables.getCustomVariables_day.xml plugins/Goals/Controller.php tests/PHPUnit/Fixtures/ManyVisitsWithGeoIP.php tests/PHPUnit/Integration/Plugin/ManagerTest.php tests/PHPUnit/System/expected/test_FlattenReports__CustomVariables.getCustomVariables_day.xml tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_scheduled_report_in_html_tables_only__ScheduledReports.generateReport_month.original.html tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getSegmentsMetadata.xml tests/PHPUnit/System/expected/test_ecommerceOrderWithItems_scheduled_report_in_html_tables_only__ScheduledReports.generateReport_week.original.html tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__CustomVariables.getCustomVariables_range.xml tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__CustomVariables.getCustomVariables_range.xml tests/PHPUnit/System/expected/test_reportLimiting__CustomVariables.getCustomVariables_day.xml tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__CustomVariables.getCustomVariables_day.xml tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables_segmentMatchALL_noGoalData__CustomVariables.getCustomVariables_day.xml tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables_segmentMatchALL_noGoalData__CustomVariables.getCustomVariables_week.xml tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables_segmentMatchVisitorType__CustomVariables.getCustomVariables_day.xml tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables_segmentMatchVisitorType__CustomVariables.getCustomVariables_week.xml tests/UI/expected-ui-screenshots tests/UI/specs/Overlay_spec.js tests/UI/specs/UIIntegration_spec.js
2015-10-22Make the string ts_archivedmattab
2015-10-06support for secondary sort and faster sortThomas Steur
2015-05-27fix core folder with php-cs-fixer for psr-2fabiocarneiro
2015-04-22PhpDoc and warning fixesMatthieu Napoli
2015-04-21improve performance of all websites dashboard when having thousands of websitesThomas Steur
2015-04-01refs #7458 fix memory error in API Live.getLastVisitsDetails when ↵Thomas Steur
filter_offset is large
2015-03-31fix broken testsThomas Steur
2015-03-31changed the name of chunks in archive tables, faster unserializationThomas Steur
2015-03-31Faster archiving of aggregated reports, also performance imprvovements in ↵Thomas Steur
general * Store subtables in chunks of 100 subtables per blob. Those 100 subtables are stored serialized as an array: array($subtableID => subtableBlob). The first 100 subtables are stored in "chunk_0", the next 100 subtables are stored in "chunk_1", ... * Subtable Ids are now consecutive from 1 to X * We do no longer serialize the whole Row instance when archiving, instead we only serialize the Row's array which contains columns, metadata and datatable. This is not only more efficient but allows us to refactor the Row instance in the future (although we will always have to be BC) * Faster row implementation: Columns, Metadata and Subtables access is much faster now
2015-03-24faster addDataTable(), can safe 2% wall timeThomas Steur
2015-03-19further dataTable performance improvementsThomas Steur
2015-03-19a summary row does not have a subtable, so we can simply get the rows ↵Thomas Steur
without summary row and avoid creating many new arrays
2015-03-18Various performance improvements and bugfixes.Thomas Steur
Imporves performance for Archiving and Range dates. Makes all kind of reports faster as well. Fixed bugs in labelFilter, reports total calculation and more.
2015-03-11Updated php docThomas Steur
2015-03-11Made for reports faster when flat=1 is used.Thomas Steur
Also replaceColumnNames is now queued again which should bring a performance boost in general.
2015-03-05Faster flattening for many reportsThomas Steur
2015-02-27Fixes #7310 - remove unused code & logicmattab
2014-12-10this code is actually tested for in ↵mattab
DataTableTest::test_serializeFails_onSubTableNotFound
2014-12-10Remove code that we're not sure why it's heremattab
2014-12-10reuse $row->getSubtable() as much as possible instead of callng ↵mattab
Manager::getInstance()->getTable which can throw exception refs #3414
2014-11-25Moving DataTable::getSiteIdFromMetadata to Piwik\Archie\DataTableFactory.diosmosis
2014-11-13Move goal translations and metric docs to metric classes from Goals ↵diosmosis
visualization. Allow these values as defaults for translations in visualizations, and fix a bug in GoalsTable where sort was improperly applied if no data was in the data table. Also include in-memory caching for Goals.getGoals API method.
2014-11-08Refactor and deprecate CalculateEvolutionFilter & document some more ↵diosmosis
classes/methods.
2014-11-07Moved processed metrics computation to DataTableGenericFilter, removed new ↵diosmosis
filters & implemented as methods in Report to avoid confusion regarding re-use, allow adding processed metrics as DataTable metadata and use this to rewrite AddProcessedMetrics filter, correct name of Metrics::getMappingFromIdToName function, added placeholder AggregatedMetric class for future, revise Metric/ProcessedMetric hierarchy (add methods for translation/etc.), allow .get API methods to use metadata to automatically figure out which columns to select, get EcommerceOrderWithItemsTest to pass.
2014-09-30coding style fixes, some PHPStorm inspection fixes, improved readability of ↵Thomas Steur
code, few refactorings, all as part of our code cleanup strategy
2014-09-20call clearQueuedFilters()Matthieu Aubry
2014-09-18Adding new PivotByDimension DataTable filter that can pivot a report by ↵diosmosis
(almost) any dimension. The filter can pivot reports by their subtable dimension and can also pivot by other dimensions (by using segments). Notes: - in the UI, only pivoting by subtable is supported - change to CSV DataTable renderer so column names w/ commas & quotes can appear in text - change to XML DataTable renderer so column names w/ invalid XML characters can be rendered (bit of an iffy change, XML format needs an overhaul I think) - includes new config option 'pivot_by_filter_enable_fetch_by_segment' - includes additions to component metadata classes (ie, Report/Dimension)
2014-08-14wondering if this fixes the skipped test?Thomas Steur
2014-08-06refs #5896 fix report limit testThomas Steur
2014-08-06refs #5896 this fixes some testsThomas Steur
2014-08-06refs #5896 tests are showing converting an array to a dataTable and run the ↵Thomas Steur
filters on it will not work. Instead run the filters directly on the array. Therefore, to not have duplicated code the dataTable and row can be now treated as an array and we access them like an array in the ColumnDelete filter which will be for now the only filter is applied on arrays
2014-07-23removed lots of trailing whitespaceChristian Raue
2014-07-15removed unused variablesChristian Raue
2014-06-10Piwik is a free/libre analytics platform. Refs #4455 GNU Package requirement ↵mattab
to use free/libre instead of open source
2014-05-09Organised imports, using phpstorm optimize imports featuremattab
2014-05-09Removed unused imports in core/ and plugins/mattab
using phpstorm optimize imports feature
2014-05-02Refs #5037 Refactor the factory out of the Period class in its own ↵mattab
Period\Factory class
2014-04-09Fixing a classic bug. let's see if any test fails the build.mattab
2014-03-26Add integration test for archive cron output text.diosmosis
2014-03-21Allow DataTable filters to be array callbacks in DataTable::filter/queueFilter.diosmosis
2014-03-12Fixes #4768 Implement performance improvement for period=range: do not ↵mattab
archive sub-tables (only the parent table). The sub-tables will be archived only when idSubtable is found, or flat=1, or expanded=1
2014-02-03Remove all occurences of @package / @subpackage / @category from core/ files.Fabian Becker
refs #4609
2014-01-09Minormattab
2014-01-09Fixes #4491 Prevent Random error by catching the Exception in case the ↵mattab
subtable is not found. Adding test that reproduced the issue and then shows it's fixed.
2013-12-18rename class Filter -> BaseFilter to prevent error "two constructors are ↵Thomas Steur
defined on PHP 5.3.2"