~linaro-toolchain-dev/cortex-strings/trunk

« back to all changes in this revision

Viewing changes to scripts/bench.py

  • Committer: Michael Hope
  • Date: 2011-09-25 21:09:13 UTC
  • Revision ID: michael.hope@linaro.org-20110925210913-6lmj2rwbamnbjedu
Bumped the version as we're almost at 1.0.  Tidied up the README.  Added an overview comment to one of the scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/env python
2
2
 
 
3
"""Simple harness that benchmarks different variants of the routines,
 
4
caches the results, and emits all of the records at the end.
 
5
 
 
6
Results are generated for different values of:
 
7
 * Source
 
8
 * Routine
 
9
 * Length
 
10
 * Alignment
 
11
"""
 
12
 
3
13
import subprocess
4
14
import math
5
15
import sys