Skip to content

Commit

Permalink
Normalize benchmark per dump for object count
Browse files Browse the repository at this point in the history
  • Loading branch information
deckar01 committed Jun 6, 2024
1 parent 593b7fe commit 7b62f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion performance/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def run_timeit(quotes, iterations, repeat, profile=False):
profile.disable()
profile.dump_stats("marshmallow.pprof")

usec = best * 1e6 / iterations
usec = best * 1e6 / iterations / len(quotes)
return usec


Expand Down

0 comments on commit 7b62f3e

Please sign in to comment.