Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dropwizard/metrics
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: fa9cab5
Choose a base ref
...
head repository: dropwizard/metrics
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c8c5952
Choose a head ref
  • 6 commits
  • 42 files changed
  • 4 contributors

Commits on Aug 31, 2025

  1. Configuration menu
    Copy the full SHA
    2d0253b View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2025

  1. chore(deps): update actions/stale action to v10 (#4938)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 8, 2025
    Configuration menu
    Copy the full SHA
    b6641b7 View commit details
    Browse the repository at this point in the history
  2. fix(deps): update jetty monorepo to v12.1.1 (#4940)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 8, 2025
    Configuration menu
    Copy the full SHA
    2af7527 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2025

  1. chore(deps): update maven plugins (#4942)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 15, 2025
    Configuration menu
    Copy the full SHA
    0181fcc View commit details
    Browse the repository at this point in the history
  2. Optimize SlidingTimeWindowMovingAverages sumBuckets (#4936) (#4943)

    `SlidingTimeWindowMovingAverages` `sumBuckets()` method could be optimized to perform indexed list access and remove allocations as it currently allocates a `LongAdder` as well as one or two streams. If one is using the 1, 5, or 15 minute rates on hot paths, these can be unnecessary expensive allocations as well as less optimized computations.
    
    We can avoid the allocations completely and accumulate the sum directly to a `long` via optimized direct indexed list access.
    
    
    [MovingAverageBenchmarks](https://github.com/palantir/tritium/blob/davids/OptimizedSlidingTimeWindowMovingAverages/tritium-jmh/src/jmh/java/com/palantir/tritium/microbenchmarks/MovingAverageBenchmarks.java) demonstrates the difference in implementations in both execution time (22x faster) and allocations:
    
    
    ```
    Benchmark                                             (recordings)                                    (type)  Mode  Cnt     Score     Error   Units
    MovingAverageBenchmarks.getM1Rate                               10           SlidingTimeWindowMovingAverages  avgt   20  1364.969 ±  12.040   ns/op
    MovingAverageBenchmarks.getM1Rate:gc.alloc.rate.norm            10           SlidingTimeWindowMovingAverages  avgt   20   688.037 ±   0.001    B/op
    MovingAverageBenchmarks.getM1Rate                               10  OptimizedSlidingTimeWindowMovingAverages  avgt   20    59.182 ±   0.343   ns/op
    MovingAverageBenchmarks.getM1Rate:gc.alloc.rate.norm            10  OptimizedSlidingTimeWindowMovingAverages  avgt   20     0.002 ±   0.001    B/op
    MovingAverageBenchmarks.getM1Rate                             1000           SlidingTimeWindowMovingAverages  avgt   20  1401.864 ± 107.134   ns/op
    MovingAverageBenchmarks.getM1Rate:gc.alloc.rate.norm          1000           SlidingTimeWindowMovingAverages  avgt   20   688.038 ±   0.003    B/op
    MovingAverageBenchmarks.getM1Rate                             1000  OptimizedSlidingTimeWindowMovingAverages  avgt   20    61.157 ±   1.393   ns/op
    MovingAverageBenchmarks.getM1Rate:gc.alloc.rate.norm          1000  OptimizedSlidingTimeWindowMovingAverages  avgt   20     0.002 ±   0.001    B/op
    ```
    
    Co-authored-by: David Schlosnagle <[email protected]>
    joschi and schlosna authored Sep 15, 2025
    Configuration menu
    Copy the full SHA
    6c2dbee View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c8c5952 View commit details
    Browse the repository at this point in the history
Loading