FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add fast path to analyzing special form assignments by JukkaL · Pull Request #16561 · python/mypy · GitHub

Repository navigation

Add fast path to analyzing special form assignments - #16561

Merged
JukkaL merged 1 commit into
masterfrom
faster-tests-assignment
Nov 25, 2023
Merged

JukkaL merged 1 commit into
masterfrom
faster-tests-assignment

Conversation

JukkaL commented Nov 25, 2023

Copy link
Copy Markdown
Collaborator

This showed up as hot spot in a CPU profile collected when running tests.

This makes mypy/test/testcheck.py about 2% faster on my Linux desktop.

This showed up as hot spot in a CPU profile collected when running tests.

This makes `mypy/test/testcheck.py` about 2% faster on my Linux desktop.

Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

discord.py (https://github.com/Rapptz/discord.py): typechecking got 1.07x slower (175.8s -> 188.8s)
(Performance measurements are based on a single noisy sample)

JukkaL merged commit 1200d1d into master Nov 25, 2023
JukkaL deleted the faster-tests-assignment branch November 25, 2023 22:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL