Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Conversation

@cesarzc
Copy link
Contributor

@cesarzc cesarzc commented Aug 26, 2020

This change adds the following performance accounting data points to the reference loading process:

  • Deserializer initialization.
  • Data loading from reference to stream.
  • Syntax tree deserialization.

To enable this additional breakdown that spans across source files, compiler performance tracking details were consolidated in the PerformanceTracking.cs file.

@cesarzc cesarzc marked this pull request as ready for review August 26, 2020 02:45
@cesarzc cesarzc requested review from bettinaheim and removed request for bettinaheim August 29, 2020 00:46
@cesarzc cesarzc changed the base branch from master to feature/perf-tracking-additions August 29, 2020 01:09
@cesarzc cesarzc merged commit 379c6f8 into feature/perf-tracking-additions Aug 30, 2020
cesarzc added a commit that referenced this pull request Sep 21, 2020
* Refactor code a bit to be able to make performance tracking more widely available.

* Better perfomance tracking methods.

* It works, clean-up pending.

* Clean-up before publishing PR.

* Apply suggestions from code review

Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com>

* Log error when somwthing goes wrong while tracking performance.

* Made two source files nullable enabled.

Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com>
cesarzc added a commit that referenced this pull request Sep 23, 2020
* Refactor code a bit to be able to make performance tracking more widely available.

* Better perfomance tracking methods.

* It works, clean-up pending.

* Clean-up before publishing PR.

* Apply suggestions from code review

Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com>

* Log error when somwthing goes wrong while tracking performance.

* Made two source files nullable enabled.

Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com>

Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com>
cesarzc added a commit that referenced this pull request Dec 10, 2020
* Reference loading performance accounting breakdown. (#590) (#630)

* Refactor code a bit to be able to make performance tracking more widely available.

* Better perfomance tracking methods.

* It works, clean-up pending.

* Clean-up before publishing PR.

* Apply suggestions from code review

Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com>

* Log error when somwthing goes wrong while tracking performance.

* Made two source files nullable enabled.

Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com>

Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com>

* Added performance tracking for specific rewrite steps based off the name field of the step.

* Use a separate Task enum value for specific rewrite steps.

* Made description more consistent.

* Moved start of rewrite steps task. Removed whitespace from details.

* Make sure a suffix can only be added to leaf tasks.

* PR comments

* Fixed build issues that arised from merging 'main' into 'feature/performance-tracking-improvements'.

* Add performance tracking tests (#713)

* Expanded compilation tracker interface.

* Added performance tracking tests.

* Fixed project file.

* Created CompilationTrackerTests.fs source file.

* Added a few more test cases in F#.

* Added more test cases to validate time accounting.

* Added expcetion-based test cases.

* Removed Tests.PerformanceTracking C# project.

* Use built-in Assert.Throws.

* Apply suggestions from code review

Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com>

* Format type annotations.

Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com>

* Remove pragma directive that is no longer needed.

Co-authored-by: Sarah Marshall <33814365+samarsha@users.noreply.github.com>
Co-authored-by: Scott Carda <sccarda@microsoft.com>
Co-authored-by: Scott Carda <55811729+ScottCarda-MS@users.noreply.github.com>
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.

4 participants