Skip to content

Commit

Permalink
fixup! Add blog post about optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorng committed Apr 18, 2024
1 parent a37fc93 commit 8c29909
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions _posts/2024-04-12-optimizations.md
Original file line number Diff line number Diff line change
Expand Up @@ -481,9 +481,10 @@ collections should occur less often, which should improve the
performance of the program.

Because of the highly variable execution time for doing a garbage
collection, it is notoriously difficult to benchmark optimizations that
reduce the amount of garbage created. Often benchmark results don't
generalize to doing the same operations in a real application.
collection, it is notoriously difficult to benchmark optimizations
that reduce the amount of garbage created. Often the outcomes of
benchmarks do not apply to performing the same tasks in a real
application.

My own [anecdotal evidence](https://en.wikipedia.org/wiki/Anecdotal_evidence)
suggests that in most cases there are no measurable performance wins by
Expand Down

0 comments on commit 8c29909

Please sign in to comment.