Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Cache performance test harness using Curl / OpenSSL #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

inorton
Copy link
Contributor

@inorton inorton 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 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
Copy link
Contributor

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
Copy link
Contributor Author

inorton 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
Copy link
Contributor

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
Copy link
Contributor Author

inorton commented Aug 17, 2016

sure, feel free

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants