-
Notifications
You must be signed in to change notification settings - Fork 70
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
refactor: Implement msgspec encoding #2541
base: main
Are you sure you want to change the base?
refactor: Implement msgspec encoding #2541
Conversation
CodSpeed Performance ReportMerging #2541 will improve performances by ×12Comparing Summary
Benchmarks breakdown
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2541 +/- ##
==========================================
- Coverage 89.82% 87.32% -2.51%
==========================================
Files 58 59 +1
Lines 4886 4923 +37
Branches 960 960
==========================================
- Hits 4389 4299 -90
- Misses 346 462 +116
- Partials 151 162 +11 ☔ View full report in Codecov by Sentry. |
97de9f7
to
1d9e947
Compare
1d9e947
to
4febeba
Compare
4febeba
to
cbe10bd
Compare
8876b80
to
f691f78
Compare
I found that it helped to add a
|
In the https://jcristharif.com/msgspec/perf-tips.html#line-delimited-json json.py:
SingerWriter:
|
Do you mean in sdk/singer_sdk/_singerlib/encoding/_msgspec.py Lines 73 to 94 in 08b58bf
? |
29dea7a
to
d23a8ab
Compare
Yes, that is exactly what I meant. Could have definitely been stated clearer on my part😅.
|
d23a8ab
to
3169b58
Compare
Naive of me to think I could get this across in 1/2 a day of work 😅. I'll come back to this later, there's plenty of time until the planned release date. |
Like the pun 😊. Great dad joke material. Kind an inside joke now since you dropped (naive) from the title of the PR. |
Might have to punt this if jcrist/msgspec#711 doesn't get merged before we're ready to officially declare Python 3.13 support |
SQLiteTap(MsgSpecWriter, SQLTap)
and notSQLiteTap(SQLTap, MsgSpecWriter)
. A better approach might be to make the IO implementation an attribute of the Singer class.📚 Documentation preview 📚: https://meltano-sdk--2541.org.readthedocs.build/en/2541/