Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PERF: thread local context #1419

Merged
merged 1 commit into from
Jul 27, 2024
Merged

Conversation

snowman2
Copy link
Member

@snowman2 snowman2 mentioned this pull request Jul 22, 2024
@snowman2 snowman2 force-pushed the thread_local_context branch 2 times, most recently from 338b615 to 2b8c42c Compare July 22, 2024 13:47
Copy link

codecov bot commented Jul 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.45%. Comparing base (efa3faa) to head (a4d7684).
Report is 25 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1419      +/-   ##
==========================================
+ Coverage   96.40%   96.45%   +0.04%     
==========================================
  Files          20       20              
  Lines        1810     1804       -6     
==========================================
- Hits         1745     1740       -5     
+ Misses         65       64       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@snowman2 snowman2 marked this pull request as ready for review July 24, 2024 01:46
@snowman2
Copy link
Member Author

Considering merging this for this release. I haven't seen any issues so far. If you have time to test it with other repos that use pyproj, that would be helpful.

@snowman2 snowman2 merged commit d078e03 into pyproj4:main Jul 27, 2024
19 checks passed
@snowman2 snowman2 deleted the thread_local_context branch July 27, 2024 19:30
@snowman2
Copy link
Member Author

#1316 may be helpful for testing...

@snowman2
Copy link
Member Author

snowman2 commented Aug 3, 2024

netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Oct 1, 2024
(Tests fail with environment issues, but one can load pyproj outside
of the test environment.  Filed upstream.)

Enhancements:
* PERF: drop GIL during long-running proj database calls by @tpwrules in pyproj4/pyproj#1354
* PERF: thread local context by @snowman2 in pyproj4/pyproj#1419
* ENH: Add is_deprecated and get_non_deprecated() to CRS by @jjimenezshaw in pyproj4/pyproj#1383
* ENH: Add runtime & compiled PROJ versions by @snowman2 in pyproj4/pyproj#1427
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Small memory leak PERF: Thread-local global contex
1 participant