pull/11367/head
ncteisen 8 years ago
parent 0ac47d28cd
commit 251b025b89
  1. 1
      tools/profiling/microbenchmarks/bm_diff/bm_build.py
  2. 1
      tools/profiling/microbenchmarks/bm_diff/bm_constants.py
  3. 3
      tools/profiling/microbenchmarks/bm_diff/bm_diff.py
  4. 1
      tools/profiling/microbenchmarks/bm_diff/bm_run.py

@ -27,7 +27,6 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
""" Python utility to build opt and counters benchmarks """
import bm_constants

@ -27,7 +27,6 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
""" Configurable constants for the bm_*.py family """
_AVAILABLE_BENCHMARK_TESTS = [

@ -199,7 +199,8 @@ def diff(bms, loops, track, old, new):
for name in sorted(benchmarks.keys()):
if benchmarks[name].skip(): continue
rows.append([name] + benchmarks[name].row(fields))
note = 'Corrupt JSON data (indicates timeout or crash) = %s' % str(badjson_files)
note = 'Corrupt JSON data (indicates timeout or crash) = %s' % str(
badjson_files)
note += '\n\nMissing files (new benchmark) = %s' % str(nonexistant_files)
if rows:
return tabulate.tabulate(rows, headers=headers, floatfmt='+.2f'), note

@ -27,7 +27,6 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
""" Python utility to run opt and counters benchmarks and save json output """
import bm_constants

Loading…
Cancel
Save