Skip to content
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

System.Runtime.Extensions Area Performance Tests #21275

Closed
3 of 12 tasks
mellinoe opened this issue Apr 21, 2017 · 15 comments
Closed
3 of 12 tasks

System.Runtime.Extensions Area Performance Tests #21275

mellinoe opened this issue Apr 21, 2017 · 15 comments
Labels
area-System.Runtime help wanted [up-for-grabs] Good issue for external contributors tenet-performance Performance related issue test-enhancement Improvements of test source code

Comments

@mellinoe
Copy link
Contributor

This is a tracking issue describing the current performance tests we have in the System.Runtime.Extensions area, and what coverage is missing. The work items below can be completed independently, and they are all of different priority.

When adding performance tests, please adhere to the guidelines listed here:

Existing Coverage:

There is some existing coverage, but it needs to be audited for conformance with our performance test guidelines.

Missing Coverage:

  • Math, MathF
  • MemoryStream
  • StreamReader / StreamWriter
  • BinaryReader / BinaryWriter
  • ArrayList
  • StringReader / StringWriter
  • TextReader / TextWriter
  • BitConverter
  • Convert
@stephenmichaelf
Copy link
Contributor

@mellinoe Could you put them in priority order and I can give it a shot from the top? Thanks!

@mellinoe
Copy link
Contributor Author

mellinoe commented May 3, 2017

Hey @stephenmichaelf, I tried to initially put it in "priority order", but it was really just based off of my intuition. @AlexGhiondea Do you have any thoughts on the priority of test cases above? Is there something that should be "the top priority"?

@jlanng
Copy link
Contributor

jlanng commented May 7, 2017

Is something in the CI process watching for increases in time taken to run each of these tests?

It'd probably be worth adding something to the perf test guidelines that describes how the data is used.

@stephenmichaelf
Copy link
Contributor

@jlanng Agreed!

@mellinoe Can we change the list to checkboxes? The PR referenced above, dotnet/corefx#19367 has added tests for Path.cs. Maybe we can add check marks then refer to the PRs to the right of each item as they are done?

@mellinoe
Copy link
Contributor Author

@stephenmichaelf Good idea -- done.

@stephenmichaelf
Copy link
Contributor

@mellinoe Latest update:

Random has been merged
Environment is waiting on feedback for running cross platform
I will start on Math and MathF tonight.

@jlanng
Copy link
Contributor

jlanng commented May 14, 2017

@mellinoe how are the timings of these tests used?

@mellinoe
Copy link
Contributor Author

mellinoe commented May 19, 2017

@jlanng Sorry for the late response.

Timing data (and other metrics like memory allocated, instructions retired, etc) is collected regularly for all of our tests and archived. We have an internal tool which we can use to analyze trends in this data, and identify when regressions have occurred. Right now we are at the stage where we just need to "get better tests" so that the data and trends we see are more stable and coherent. But that is the long-term strategy.

@KostaVlev
Copy link
Contributor

Hi guys, I am going to grab the ArrayList..?

@mellinoe
Copy link
Contributor Author

@KostaVlev Sounds good, go ahead! Make sure to check around and make sure nobody has added anything without consulting the list. I don't think anyone has, but it doesn't hurt to double check.

stephentoub referenced this issue in dotnet/corefx Oct 12, 2017
…18765) (#24500)

* Adding System.Runtime.Extensions ArrayList performance tests.

* PR feedback - Moving Perf.ArrayList.cs to System.Collections.NonGenerics\tests\Performance and some optimizations.

* Spelling corrections.

* PR feedback.

* Small optimizations - removing duplicated variables.

* Fixing RemoveRange test setup. Setting more Inner iterations for the Add test.
@WinCPP
Copy link
Contributor

WinCPP commented Oct 15, 2017

Hi @mellinoe may I work on StreamReader / StreamWriter? There are a few for StreamWriter but none for StreamReader.

@KostaVlev
Copy link
Contributor

@WinCPP seems like nobody is working on these... so grab it :)

pjanotti referenced this issue in pjanotti/corefx Oct 31, 2017
…18765) (dotnet#24500)

* Adding System.Runtime.Extensions ArrayList performance tests.

* PR feedback - Moving Perf.ArrayList.cs to System.Collections.NonGenerics\tests\Performance and some optimizations.

* Spelling corrections.

* PR feedback.

* Small optimizations - removing duplicated variables.

* Fixing RemoveRange test setup. Setting more Inner iterations for the Add test.
@ddizh
Copy link

ddizh commented Feb 14, 2018

@mellinoe could you update the list to see what else left uncovered?

@msftgits msftgits transferred this issue from dotnet/corefx Jan 31, 2020
@msftgits msftgits added this to the Future milestone Jan 31, 2020
@maryamariyan maryamariyan added the untriaged New issue has not been triaged by the area owner label Feb 23, 2020
@joperezr joperezr removed the untriaged New issue has not been triaged by the area owner label Jul 1, 2020
Copy link
Contributor

Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.

This process is part of our issue cleanup automation.

@dotnet-policy-service dotnet-policy-service bot added backlog-cleanup-candidate An inactive issue that has been marked for automated closure. no-recent-activity labels Jan 1, 2025
Copy link
Contributor

This issue will now be closed since it had been marked no-recent-activity but received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.

@dotnet-policy-service dotnet-policy-service bot removed this from the Future milestone Jan 15, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Feb 14, 2025
@dotnet-policy-service dotnet-policy-service bot removed no-recent-activity backlog-cleanup-candidate An inactive issue that has been marked for automated closure. labels Feb 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Runtime help wanted [up-for-grabs] Good issue for external contributors tenet-performance Performance related issue test-enhancement Improvements of test source code
Projects
None yet
Development

No branches or pull requests

10 participants