1. Benoit Chesneau
  2. anyjson


Rune Halvorsen  committed f1d4e40

Fixed benchmarking script. Was choking when any of the modules to be
tested weren't available

  • Participants
  • Parent commits c963754
  • Branches default

Comments (0)

Files changed (1)

File tests/benchmark.py

View file
                       do_benchmark(e, _deep , runs),
                       do_benchmark(e, _big, runs)))
+no_res = set([e for e in res if e[1] is None])
+res = list(set(res) - no_res)
 res.sort(lambda a,b: cmp(sum(a[1:4]), sum(b[1:4])))
 for e in res:
     print "%.3f %s" % (sum(e[1:4]), e[0])
+for e in no_res:
+    print "Not installed:", e[0]