Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 67891d8bd765932bb54990b8604e9f6703147831
      
https://github.com/WebKit/WebKit/commit/67891d8bd765932bb54990b8604e9f6703147831
  Author: Yusuke Suzuki <[email protected]>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    A JSTests/microbenchmarks/to-base64.js
    M Source/WTF/wtf/text/Base64.cpp
    M Source/WTF/wtf/text/Base64.h

  Log Message:
  -----------
  [JSC] Use simdutf for toBase64
https://bugs.webkit.org/show_bug.cgi?id=276673
rdar://131862111

Reviewed by Yijia Huang.

This patch integrates simdutf's base64 encoder for WebKit. Still we cannot use 
it for generating 16bit characters.

                               ToT                     Patched

    to-base64            72.2693+-0.2534     ^     11.4135+-0.0801        ^ 
definitely 6.3319x faster

* JSTests/microbenchmarks/to-base64.js: Added.
(test):
* Source/WTF/wtf/text/Base64.cpp:
(WTF::toSIMDUTFOptions):
(WTF::base64EncodeInternal):
(WTF::calculateBase64EncodedSize):
* Source/WTF/wtf/text/Base64.h:
(WTF::calculateBase64EncodedSize): Deleted.

Canonical link: https://commits.webkit.org/281035@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to