~15x speedup without needing to use SSE.

On my desktop, the bench improves from ~6ms to ~0.4ms.

BUG=skia:

Review URL: https://codereview.chromium.org/864083002
1 file changed
tree: 21b8fbf901d564a819330b9f6103ed3dcd7f356f
  1. alertserver/
  2. appengine_scripts/
  3. bash/
  4. bug_chomper/
  5. compute_engine_scripts/
  6. ct/
  7. datahopper/
  8. doc/
  9. go/
  10. golden/
  11. grains/
  12. influxdb/
  13. logserver/
  14. nginx/
  15. perf/
  16. prober/
  17. push/
  18. res/
  19. scripts/
  20. site_config/
  21. skfe/
  22. tools/
  23. webtools/
  24. webtry/
  25. .gitignore
  26. codereview.settings
  27. DEPS
  28. LICENSE
  29. Makefile
  30. PRESUBMIT.py
  31. README.md
  32. run_unittests
  33. whitespace.txt
README.md

Skia-Buildbot Repository

This repo contains infrastructure code for Skia.

Getting the Source Code

The main source code repository is a Git repository hosted at https://skia.googlesource.com/buildbot. Although it is possible to check out this repository directly with git clone, buildbot dependencies are managed by gclient instead of Git submodules, so to work on buildbot, it is better to install depot_tools.

Initial Checkout

$ mkdir ~/skia_infra $ cd ~/skia_infra $ fetch skia_buildbot

Subsequent Checkouts

$ cd ~/skia_infra/buildbot $ git pull --rebase $ gclient sync

Go Setup

For working on Go code run:

$ go get -u skia.googlesource.com/buildbot.git/...

This fetches the repository into your $GOPATH directory along with all the needed dependencies.

Quick Start

Go tests require a local installation of MySQL. For a Debian based distro: $ sudo apt-get install mysql-client mysql-server

Then, to set up local versions of the production databases: $ cd go/database $ ./setup_test_db

Database Setup for Testing

Tests which use the database package's testutils require you to have a MySQL instance running with a database named “sk_testing” and users called “readwrite” and “test_root” with appropriate permissions for sk_testing. The ‘setup_test_db’ script in ‘go/database’ is included for convenience in setting up this test database and user.