[arch-commits] Commit in js78/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Sat Aug 1 22:21:28 UTC 2020


    Date: Saturday, August 1, 2020 @ 22:21:27
  Author: heftig
Revision: 393066

More PGO

Modified:
  js78/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-01 22:06:31 UTC (rev 393065)
+++ PKGBUILD	2020-08-01 22:21:27 UTC (rev 393066)
@@ -60,11 +60,21 @@
 
   echo "Profiling instrumented JS..."
   (
+    local js="$PWD/dist/bin/js"
+    export LLVM_PROFILE_FILE="$PWD/js-%p-%m.profraw"
+
     cd ../js/src/octane
-    ../../../obj/dist/bin/js run.js
-    llvm-profdata merge -o ../../../obj/merged.profdata *.profraw
+    "$js" run.js
+
+    cd ../../../third_party/webkit/PerformanceTests/ARES-6
+    "$js" cli.js
+
+    cd ../SunSpider/sunspider-0.9.1
+    "$js" sunspider-standalone-driver.js
   )
 
+  llvm-profdata merge -o merged.profdata *.profraw
+
   stat -c "Profile data found (%s bytes)" merged.profdata
   test -s merged.profdata
 



More information about the arch-commits mailing list