Skip to content

Commit

Permalink
update performance results
Browse files Browse the repository at this point in the history
  • Loading branch information
picnixz committed Dec 22, 2024
1 parent 5b6922f commit e631593
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Doc/whatsnew/3.14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -675,14 +675,14 @@ uuid
* Improve generation of :class:`~uuid.UUID` objects via their dedicated
functions:

* :func:`~uuid.uuid3` is 40% faster for 16-byte names and 10% faster
* :func:`~uuid.uuid3` is 47% faster for 16-byte names and 13% faster
for 1024-byte names. Performances for longer names remain unchanged.
* :func:`~uuid.uuid5` is 38% faster for 16-byte names and 21% faster
* :func:`~uuid.uuid5` is 35% faster for 16-byte names and 24% faster
for 1024-byte names. Performances for longer names remain unchanged.
* :func:`~uuid.uuid4` is 31% faster and :func:`~uuid.uuid8` is 37% faster.
* :func:`~uuid.uuid4` is 33% faster and :func:`~uuid.uuid8` is 38% faster.

Overall, dedicated generation of UUID objects version 3, 4, 5, and 8 is
roughly 30% faster.
roughly 20% faster.

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

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Improve generation of :class:`~uuid.UUID` objects version 3, 4, 5, and 8
via their dedicated functions by 30%. Patch by Bénédikt Tran.
via their dedicated functions by 20%. Patch by Bénédikt Tran.

0 comments on commit e631593

Please sign in to comment.