Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 78c71941cfa379247aec320400975fedb7f5ea63 https://github.com/WebKit/WebKit/commit/78c71941cfa379247aec320400975fedb7f5ea63 Author: Yusuke Suzuki <ysuz...@apple.com> Date: 2025-08-05 (Tue, 05 Aug 2025)
Changed paths: A JSTests/microbenchmarks/parse-line-comment.js M Source/JavaScriptCore/parser/Lexer.cpp Log Message: ----------- [JSC] Scan line comment via SIMD https://bugs.webkit.org/show_bug.cgi?id=296951 rdar://157594015 Reviewed by Yijia Huang. This patch adds SIMD fast scan for line comment. It is just simply looking for a line terminator. ToT Patched parse-line-comment 32.7271+-0.3263 ^ 27.5149+-0.0741 ^ definitely 1.1894x faster * JSTests/microbenchmarks/parse-line-comment.js: Added. (shouldBe): (test): * Source/JavaScriptCore/parser/Lexer.cpp: (JSC::Lexer<T>::lexWithoutClearingLineTerminator): Canonical link: https://commits.webkit.org/298266@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes