Skip to content

Performance improvement to uuid8 on “What’s New” page #136428

Closed

Description

@JostMigenda

Documentation

The What’s new in Python 3.14 page currently states:

uuid4() and uuid8() are 30% and 40% faster respectively.

For uuid4, I’d interpret that as “faster than in Python 3.13”; but for uuid8, which is new in 3.14 as mentioned a few paragraphs earlier on the same page, the comparison is not clear.

Looking at GitHub, initial support for uuid8 was merged in November 2024 and the performance improvements were merged in January 2025; so this is effectively a performance comparison between 3.14a2 and 3.14a4. Perhaps that’s something that should not be included in user-facing documentation?

Linked PRs

Activity

  1. added
    stdlibStandard Library Python modules in the Lib/ directory
    on Jul 8, 2025
  2. StanFromIreland commented on Jul 8, 2025

    @StanFromIreland
    Member

    cc @picnixz

    Also, meta issue: #123299

  3. picnixz commented on Jul 8, 2025

    @picnixz
    Member

    Hum yes. I think we can remove those improvements notices for uuid8 now that we're in the last beta. They are documented in the full changelog which has exact versioning but in the whatsnew, we shouldn't refer to the new features to avoid confusion

  4. rozeappletree commented on Jul 9, 2025

    @rozeappletree

    I can make changes ro the docs. Shall I send a PR?

    @picnixz @StanFromIreland

  5. StanFromIreland commented on Jul 9, 2025

    @StanFromIreland
    Member

    Yes, you can send a PR:-) Please note our policy on generative ai.

  6. picnixz commented on Jul 11, 2025

    @picnixz
    Member

    Yes and if you can also update the performance numbers, please do so. There should be a benchmark script somewhere in the issue or PR that mentioned it so reuse that script (and build Python with PGO and LTO support). I wouldn't want to lie to the readers.

    If you don't know how to make benchmarks, I'll update the docs myself.

  7. self-assigned this
    on Jul 21, 2025
  8. added a commit that references this issue on Jul 21, 2025
  9. added a commit that references this issue on Jul 21, 2025
  10. picnixz commented on Jul 21, 2025

    @picnixz
    Member

    I've taken care of the PR myself as the next release is on Tuesday. Thanks for the report!

  11. added a commit that references this issue on Jul 21, 2025
  12. rozeappletree commented on Jul 21, 2025

    @rozeappletree

    Thanks! Was away on business trip.

  13. added a commit that references this issue on Aug 4, 2025
  14. added a commit that references this issue on Aug 19, 2025
  15. added a commit that references this issue on Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

3.14bugs and security fixesdocsDocumentation in the Doc direasystdlibStandard Library Python modules in the Lib/ directory

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions