fury icon indicating copy to clipboard operation
fury copied to clipboard

perf(c++): Evaluate the implementation effect &&simdutf performs partial vectorization

Open pandalee99 opened this issue 10 months ago • 1 comments

What does this PR do?

Introduced simdutf to Fury, evaluated the implementation, and then chose a better implementation.

First look at the execution rendering:

1111

Here _SIMD represents the Fury implementation, and _SIMDUTF represents the simdutf implementation.

As you can see, some apis are better, but not all are better, and this may be related to business needs.So I chose some apis that performed better, such as isLatin1

Then following the improved presentation:

2222

Here _FURY represents its own implementation, and _SIMDUTF represents an external library

Related issues

#2013

Does this PR introduce any user-facing change?

  • [x] Does this PR introduce any public API change?
  • [ ] Does this PR introduce any binary protocol compatibility change?

Benchmark

pandalee99 avatar Jan 28 '25 12:01 pandalee99

I think FURY's implementations are all better than simdutf's so far

image

pandalee99 avatar Feb 01 '25 11:02 pandalee99