| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Thanks for the PR. I'll take a look at it soon. |
Sorry, something went wrong.
There was a problem hiding this comment.
I've done the first pass through the PR and left a few comments. I'm going to dive deeper into the implementation next week.
Regarding the performance degradation you mentioned in the PR description:
I've put the utf8 validation in a stage zero method rather than the step method as it was significantly degrading the performance. The performance degradation seemed to be coming from having state, such as storing the previous vector or errors.
I've verified this, and indeed, plugging the validator into StructuralIndexer::step causes performance degradation. In the compilation logs, I've seen that the JIT struggles with inlining Utf8Validator::validate when it's called from the step method, which could potentially be the cause of the performance drop.
Sorry, something went wrong.
|
Hi @Nostimo, just to let you know: I remember about this PR, but I've been busy with other tasks. I'll try to do the second pass as soon as I can. |
Sorry, something went wrong.
…SimdJsonParser::parse rather than the internal classes
|
I’m getting back to this. First, I need to read the paper to properly review the PR. My plan is as follows:
|
Sorry, something went wrong.
There was a problem hiding this comment.
@Nostimo I've left a few additional comments. Overall, you did a great job! Thank you for that.
Sorry, something went wrong.
…idths, code cleanup
|
Thank you, @Nostimo, for your contribution. I'm merging it. I'll add support for 512-bit vectors in a follow-up PR. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
I've put the utf8 validation in a stage zero method rather than the step method as it was significantly degrading the performance. The performance degradation seemed to be coming from having state, such as storing the previous vector or errors. Hopefully this will improve as the vector API comes out of incubation.
JMH benchmarks before change:
After:
Additional benchmarks of the SIMD utf8 validation vs utf8 validation from guava: