Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
JarryShaw
/
PyPCAPKit
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
36
Star
267
Code
Issues
0
Pull requests
0
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
perf: cut extraction time by ~46% on an HTTP capture, with byte-identical output
- #420
#420
Merged
JarryShaw
merged 18 commits into
main
JarryShaw/PyPCAPKit:main
from
perf/hot-path-wins
JarryShaw/PyPCAPKit:perf/hot-path-wins
Copy head branch name to clipboard
Sep 17, 2026
Conversation
Commits
18
(18)
Checks
Files changed
Merged
perf: cut extraction time by ~46% on an HTTP capture, with byte-identical output
#420
JarryShaw
merged 18 commits into
main
JarryShaw/PyPCAPKit:main
from
perf/hot-path-wins
JarryShaw/PyPCAPKit:perf/hot-path-wins
Copy head branch name to clipboard
Commits
Commits on Sep 16, 2026
perf: memoise charset detection, which was 30% of an HTTP extraction
Show description for fa0920f
JarryShaw
committed
fa0920f
View commit details
Copy full SHA for fa0920f
Browse repository at this point
perf: give FieldBase a __copy__, saving ~15% on every capture shape
Show description for 5ce03cd
JarryShaw
committed
5ce03cd
View commit details
Copy full SHA for 5ce03cd
Browse repository at this point
perf: read Field.length once per field instead of two to four times
Show description for 0c13874
JarryShaw
committed
0c13874
View commit details
Copy full SHA for 0c13874
Browse repository at this point
perf: stop Schema.__setattr__ re-entering itself once per field
Show description for 0aca006
JarryShaw
committed
0aca006
View commit details
Copy full SHA for 0aca006
Browse repository at this point
perf: take Schema.unpack's OptionField test once rather than twice
Show description for 1794c43
JarryShaw
committed
1794c43
View commit details
Copy full SHA for 1794c43
Browse repository at this point
docs: record the profiling pass -- measurements, wins, and ruled-out suspects
Show description for b949a6a
JarryShaw
committed
b949a6a
View commit details
Copy full SHA for b949a6a
Browse repository at this point
docs: correct the profiling notes' commit shas after the rebase
Show description for 08d08d8
JarryShaw
committed
08d08d8
View commit details
Copy full SHA for 08d08d8
Browse repository at this point
Revert "perf: take Schema.unpack's OptionField test once rather than twice"
Show description for faef5d6
JarryShaw
committed
faef5d6
View commit details
Copy full SHA for faef5d6
Browse repository at this point
docs: add the reassembly and flow-tracing findings, and the revert rationale
Show description for e37a8c7
JarryShaw
committed
e37a8c7
View commit details
Copy full SHA for e37a8c7
Browse repository at this point
docs: fix the revert commit's sha in the profiling notes
Show description for 96705f9
JarryShaw
committed
96705f9
View commit details
Copy full SHA for 96705f9
Browse repository at this point
docs: settle the test-count question in the profiling notes
Show description for 081c802
JarryShaw
committed
081c802
View commit details
Copy full SHA for 081c802
Browse repository at this point
perf: bound what the charset cache can retain, and de-personalise the notes
Show description for 572f13b
JarryShaw
committed
572f13b
View commit details
Copy full SHA for 572f13b
Browse repository at this point
Merge branch 'main' into perf/hot-path-wins
JarryShaw
authored
9b148f9
View commit details
Copy full SHA for 9b148f9
Browse repository at this point
utilities: promote charset detection to pcapkit.utilities.chardet
Show description for 427a89d
JarryShaw
committed
427a89d
View commit details
Copy full SHA for 427a89d
Browse repository at this point
utilities: name the wrapper `detect`, matching the function it wraps
Show description for 01a39eb
JarryShaw
committed
01a39eb
View commit details
Copy full SHA for 01a39eb
Browse repository at this point
utilities: key the charset cache on a digest, so large values are cached too
Show description for 9f1b56b
JarryShaw
committed
9f1b56b
View commit details
Copy full SHA for 9f1b56b
Browse repository at this point
Commits on Sep 17, 2026
utilities: go back to lru_cache, keyed on the value
Show description for bcc9fea
JarryShaw
committed
bcc9fea
View commit details
Copy full SHA for bcc9fea
Browse repository at this point
Merge branch 'main' into perf/hot-path-wins
JarryShaw
authored
4c0747a
View commit details
Copy full SHA for 4c0747a
Browse repository at this point
You can’t perform that action at this time.