Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache performance test harness using Curl / OpenSSL #83

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
3 participants
@inorton
Copy link
Contributor

commented May 24, 2016

Cache performance test harness using curl and/or openssl for representative tests.

Curl builds are slightly faster than openssl ( 90sec uncached vs 4 minutes)

The curl build test only requires that you have visual studio installed and have built the clcache py2exe executable.

@inorton inorton force-pushed the inorton:speedtest_curl branch from 21d85ae to d8a1a9a May 24, 2016

@inorton inorton force-pushed the inorton:speedtest_curl branch from d8a1a9a to b9e9780 May 24, 2016

@inorton inorton changed the title Speedtest curl Cache performance test harness using Curl / OpenSSL May 25, 2016

@frerich frerich added the test label Jun 24, 2016

@webmaster128

This comment has been minimized.

Copy link
Contributor

commented Aug 17, 2016

I am working on a similar test using Botan, because

curl

  • Makefile.vc mode: cannot be build in parallel
  • Makefile.vc mode: Cannot use custom CC before the upcoming release (see 1, 2, 3)
  • ccache: Cannot use custom CC before the upcoming release (see set CC)

openssl

  • depends on perl

Botan on the other hand

  • Custom CC (so CC="python path/to/clcache.py" can be used – no environment changes)
  • is configured using Python
  • Makefile can be build using nmake or jom (thus multiple jobs)
  • no dependencies apart from Python 2.6–3.6, jom and MSVS 2013+
  • module system allows reducing the build time (full build on a 2 core local VM: 24 min cold cache, 1 min hot cache)

I just wait for randombit/botan#586 or randombit/botan#587 in order to get proper cache hitting.

@inorton

This comment has been minimized.

Copy link
Contributor Author

commented Aug 17, 2016

I did manage the get botan running in this pull request (im using an earlier version of this in cclash's tests now). Good luck though, I just wish I had a faster computer to do this all more often :)

@webmaster128

This comment has been minimized.

Copy link
Contributor

commented Aug 17, 2016

May I reuse code from this PR for the Botan version? I am especially interested in the Python implementation of Download+unzip to keep dependencies low.

@inorton

This comment has been minimized.

Copy link
Contributor Author

commented Aug 17, 2016

sure, feel free

@webmaster128 webmaster128 referenced a pull request that will close this pull request Sep 2, 2016

Open

[WIP] Add benchmarking project: Botan #226

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.