Skip to content

Instantly share code, notes, and snippets.

@janisozaur
Last active April 20, 2021 16:07
Show Gist options
  • Save janisozaur/fe4340c9c3ebab32934277216a74dc11 to your computer and use it in GitHub Desktop.
Save janisozaur/fe4340c9c3ebab32934277216a74dc11 to your computer and use it in GitHub Desktop.

Results of Skia's nanobench for each of available configs.

The RPi4 board was using default clocks and was provided adequate power and cooling. The tests were conducted on fully-updated Raspbian Buster.

Skia was built with https://github.com/google/skia/commit/1e03b6b10e89fc54f379df4b2d705b1c64e2e0d6

I'd love to test with RPi3B and RPi3B+ that I have, but my charger and PSU seem to be too weak, as both boards report "under voltage" condition.

There's also the (compressed) nanobench binary included in here as well and the script that contains cmdline that created atatched files. Running the full benchmark took about 5.5h on RPi4, not using any threading options.

The best way to browse this is to clone the gist locally:

git clone [email protected]:fe4340c9c3ebab32934277216a74dc11

and read it this way.

Not all the files have produced output.

This file has been truncated, but you can view the full file.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

@arielm
Copy link

arielm commented Apr 19, 2021

Hi Janisosaur, sorry to be late to the party but would you mind sharing how did you build Skia for Raspberry PI? Thanks!

@janisozaur
Copy link
Author

I used https://aur.archlinux.org/packages/skia-git/ for instructions. The last time I built it, there was a small patch required:

diff --git a/BUILD.gn b/BUILD.gn
index 1021b43417..1b13320ee7 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -69,7 +69,7 @@ config("skia_public") {
 
 # Skia internal APIs, used by Skia itself and a few test tools.
 config("skia_private") {
-  visibility = [ ":*" ]
+  visibility = [ "./*" ]
 
   defines = [ "SK_GAMMA_APPLY_TO_A8" ]
   if (skia_enable_gpu) {

@arielm
Copy link

arielm commented Apr 20, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment