Skip to content

[Perf] Regressions in System.Buffers.Tests.RentReturnArrayPoolTests<Object> #56555

Closed

Description

@performanceautofiler

Run Information

Architecture arm64
OS Windows 10.0.19041
Baseline ec3f9fa03f72ceadfa0610196a12bab3b37b63f9
Compare 775ecaefe7aa3be85858e612fef782f0e1991f51
Diff Diff

Regressions in System.Buffers.Tests.RentReturnArrayPoolTests<Object>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio Baseline ETL Compare ETL
MultipleSerial - Duration of single invocation 814.29 ns 881.75 ns 1.08 0.07 False

graph
Historical Data in Reporting System

Repro

git clone https://github.com/dotnet/performance.git
py .\performance\scripts\benchmarks_ci.py -f netcoreapp5.0 --filter 'System.Buffers.Tests.RentReturnArrayPoolTests&lt;Object&gt;*'
Details

Payloads

Baseline
Compare

Histogram

System.Buffers.Tests.RentReturnArrayPoolTests<Object>.MultipleSerial(RentalSize: 4096, ManipulateArray: False, Async: False, UseSharedPool: True)


Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository

Activity

  1. changed the title [-][Perf] Changes at 7/20/2021 1:51:45 PM[/-] [+][Perf] Regressions in System.Buffers.Tests.RentReturnArrayPoolTests<Object>[/+] on Jul 29, 2021
  2. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Jul 29, 2021
  3. DrewScoggins commented on Jul 29, 2021

    @DrewScoggins
    Member

    Seems related to #55959

  4. stephentoub commented on Jul 29, 2021

    @stephentoub
    Member

    @DrewScoggins, how do I see other generic instantations of this same test for the same period? The test runs for both object and byte:
    https://github.com/dotnet/performance/blob/d7dac8a7ca12a28d099192f8a901cf8e30361384/src/benchmarks/micro/libraries/System.Buffers/ArrayPoolTests.cs#L14-L15

  5. DrewScoggins commented on Jul 29, 2021

    @DrewScoggins
    Member
  6. tannergooding commented on Aug 9, 2021

    @tannergooding
    Member

    @DrewScoggins, @stephentoub, was this addressed by #56316 ?

  7. stephentoub commented on Aug 9, 2021

    @stephentoub
    Member

    Apparently partially but not fully:
    #56316 (comment)

  8. tannergooding commented on Aug 9, 2021

    @tannergooding
    Member

    A 2.56% regression (20ns) isn't bad. Do we think there are additional gains that can still be won back?

    If so, I'll put this in future; otherwise, I think we should probably close the issue and accept the regression (given the wins we otherwise got).

  9. stephentoub commented on Aug 12, 2021

    @stephentoub
    Member

    I think future (or closed) here is fine. It's a tiny hit in one use case on one architecture, and apparently only for object but not byte/char.

  10. ghost locked as resolved and limited conversation to collaborators on Sep 16, 2021
  11. removed
    untriagedNew issue has not been triaged by the area owner
    on Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions