-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add docs on disabling cli analytics for performance purposes #699
Conversation
Code Climate has analyzed commit 632471e and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (85% is the threshold). This pull request will bring the total coverage in the repository to 94.3% (0.0% change). View more on Code Climate. |
My take on this - it should be solved at the DVC core repo. We should not be recommending this. Not even because we want to collect analytics, the primary reason - it's an extra step that will people have to do, which is not nice. And also it's not clear why does it affect the VS Code only. |
Co-authored-by: Roger <rogermparent@gmail.com>
* Get sortBy tree to the point where it displays sorts * Adapt to renamed field * Big refactor - Split getChildren branches into methods - Await experiments for root - Turn getSort into getSorts (multi sorts not actually implemented) * Sort sortByTree roots like paramsAndMetricsTree roots * Add contextValue to TreeItems * Remove accidentally merged file * Revert file accidentally changed by merge * Add commands to tree title and add tests * Build mocked TreeItem that uses contructor * Remove double mocks * Remove unused mocks * Prefix TreeItem contextValues with dvc * Rename clearSort to clearSorts * Add multi-sort capability to sort function * More multi-sort support with test for sort function * Add another test * Add multi-sort functionality * Fix integration test * add windows hide option for windows users (#701) * Switch `ExperimentsParamsAndMetricsTree` to string | ParamsAndMetricsItem tree type (#700) * move params and metrics tree to mixed type * remove get param or metric methods where possible * rework tree data type * improve test * improve test variable names * Add createTreeView wrapper (#703) * move params and metrics tree to mixed type * remove get param or metric methods where possible * rework tree data type * improve test * improve test variable names * add create tree view wrapper Co-authored-by: rogermparent <rogermparent@gmail.com> * add notes on disabling cli analytics to help performance (#699) Co-authored-by: Roger <rogermparent@gmail.com> * Add basic integration test and make sortBy non-mutating * Add multi-sort to sorts integration test * Add single sort removal to integration test * Use removeAllSorts for final clear * Add repo-level addSort and rework data piping so await works for it * Add "all items are equal" test for multi-sort * Add sort modification to integration test * Return this.notifyChanged again to simplify diff * clearExperimentsTableSort -> removeExperimentsTableSorts * Rename a few commands and combine removeSorts commands * Display empty array when there are are projects but no sorts * Use createTreeView utility * Change pluckTestParams inline helper to be a no-arg function * Trim back sort integration test data to only params * Rename command strings and remove unused ones * Combine add and remove sort commands * Swap removeSort params and use getRepository * import { join } from 'path' * interface SortDefinitionWithParent => type SortItem * build => pick and simplify buildExperimentSortFunction * Inline pickSort into experiments repository class, can => should * Remove getOrPickRepo and change removeSorts behavior to be like filters * Add another entry to integration test data Co-authored-by: mattseddon <37993418+mattseddon@users.noreply.github.com>
Relates to https://iterativeai.slack.com/archives/C01APS0FHDM/p1627637839000300
Demo of enabled vs disabled analytics:
Screen.Recording.2021-07-31.at.11.41.55.am.mov
I will follow up and put my theory for why this is happening into #608 on Monday.