-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
simd support? #368
Comments
Yes, I am actively looking into these things and wanted to publish a design document to get feedback on implementation. It is also somehow a roadmap to 1.0 and will contain at least the following areas:
I expect to have it in a few days and it is roughly my roadmap for this lib :) I'd appreciate if you could share your thoughts on this or share your use case for integrating the crates you mentioned |
Sorry I didn't get back earlier, but thanks for your thorough response! I don't know enough about your implementation to cogently comment on your points, but the details I can tease out indicates that there's a lot of headroom the library can exploit to squeeze more performance. I'm looking forward to the design document! What I can contribute are my use-cases. Currently, I'm using jsonschema-rs to validate CSV files (and that's why I originally asked about #339 ), and after using rayon, the performance is already quite impressive. But as the flamegraph shows, any incremental performance from jsonschema will further accelerate qsv's I plan to leverage the qsv validate command in another project - https://github.com/dathere/datapusher-plus to validate CSV files before they are uploaded to CKAN. |
That sounds really interesting! Is that repo publically available? |
@manuschillerdev I added it as a separate crate here - #373 :) It is a prototype, but ref resolving is more or less ready Btw, @jqnatividad thanks for sharing your use case! I hope that soon we all can benefit from faster validation! :) the changes though are quite large and I’ll appreciate any help there :) |
@Stranger6667 I'll start testing the jsonschema-csr prototype and will let you know my findings! I need to update qsv's benchmarks soonish and I'll be sure to include the prototype in it when I do. And once I grok the internals, you can be sure I'll try to help as best as I can. |
@jqnatividad Thank you! The currently submitted version is not working yet, but I am slowly working on it :) |
Closing this for now, the next release will use |
Already, jsonschema-rs is quite performant.
However, have you looked into using crates like simd-json, simdutf8 to make it even faster?
The text was updated successfully, but these errors were encountered: