Skip to content

Commit

Permalink
update benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
picnixz committed Jan 12, 2025
1 parent 5c87adf commit ea23629
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Doc/whatsnew/3.14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -683,11 +683,10 @@ uuid
* Improve generation of :class:`~uuid.UUID` objects via their dedicated
functions:

* :func:`~uuid.uuid3` is 70% faster for 16-byte names and 20% faster
for 1024-byte names. Performance for longer names remains unchanged.
* :func:`~uuid.uuid5` is 40% faster for 16-byte names and 30% faster
for 1024-byte names. Performance for longer names remains unchanged.
* :func:`~uuid.uuid4` and :func:`~uuid.uuid8` are 30% and 45% faster
* :func:`~uuid.uuid3` and :func:`~uuid.uuid5` are both roughly 40% faster
for 16-byte names and 20% faster for 1024-byte names. Performance for
longer names remains unchanged.
* :func:`~uuid.uuid4` and :func:`~uuid.uuid8` are 30% and 40% faster
respectively.

(Contributed by Bénédikt Tran in :gh:`128150`.)
Expand Down

0 comments on commit ea23629

Please sign in to comment.