<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Sep 18, 2018, at 6:22 AM, Louis Dionne via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Sep 17, 2018, at 06:45, Aliaksandr Zaitsau via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hello.<br class=""><br class="">Have anybody any benchmark results of std::regex between libc++ and libstdc++ implementations? Has libc++ any automatic benchmarks for the std::regex implementation?<br class=""></div></div></blockquote><div class=""><br class=""></div><div class="">I don’t know of any libc++ benchmarks for std::regex. Looking at <a href="https://github.com/llvm-mirror/libcxx/tree/master/benchmarks" class="">https://github.com/llvm-mirror/libcxx/tree/master/benchmarks</a>, there doesn’t seem to be any.</div></div></div></div></blockquote><div><br class=""></div><div>The WebKit team was working on a regex benchmark:</div></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div><div><a href="https://github.com/WebKit/webkit/tree/master/PerformanceTests/RexBench" class="">https://github.com/WebKit/webkit/tree/master/PerformanceTests/RexBench</a></div></div></blockquote><div><div><br class=""></div><div>I expect browsers to perform much better than C++ implementations because they’ll JIT the regular expressions. It would be neat to use the same benchmarks to see the difference.</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><div class="">Louis</div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><br class="">Best regards,<br class=""><br class="">Alexander Zaitsev<br class=""><br class="">_______________________________________________<br class="">cfe-dev mailing list<br class=""><a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a><br class=""><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br class=""></div></div></blockquote></div><br class=""></div>_______________________________________________<br class="">cfe-dev mailing list<br class=""><a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a><br class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev<br class=""></div></blockquote></div><br class=""></body></html>