Skip to content

Expose aggregate file sizes in FileStats#28559

Merged
amcasey merged 6 commits into
microsoft:masterfrom
amcasey:FileSize
Nov 16, 2018
Merged

Expose aggregate file sizes in FileStats#28559
amcasey merged 6 commits into
microsoft:masterfrom
amcasey:FileSize

Conversation

@amcasey
Copy link
Copy Markdown
Member

@amcasey amcasey commented Nov 15, 2018

We're not sure that file counts are a good proxy for project size and this will give us more direct insight.

Since it's for telemetry, it prefers to return a stale value rather than
triggering file IO (though it will load the file if not even a stale
value is available).
We're not sure that file counts are a good proxy for project size and
this will give us more direct insight.
@amcasey amcasey requested a review from sheetalkamat November 15, 2018 22:21
@amcasey
Copy link
Copy Markdown
Member Author

amcasey commented Nov 15, 2018

FYI @minestarks

@amcasey
Copy link
Copy Markdown
Member Author

amcasey commented Nov 15, 2018

@DanielRosenwasser I'd be really happy to have this in 3.2 (after I fix the tests, of course).

Comment thread src/server/scriptInfo.ts Outdated
Comment thread src/server/scriptInfo.ts Outdated
Comment thread src/testRunner/unittests/telemetry.ts
@amcasey amcasey merged commit 642803c into microsoft:master Nov 16, 2018
@amcasey amcasey deleted the FileSize branch November 16, 2018 21:52
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants