monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Bugs in contrib.benchmark rev 679ea52924887e81690334210


From: Eric Anderson
Subject: [Monotone-devel] Bugs in contrib.benchmark rev 679ea52924887e816903342104f797ba9c0be6d4
Date: Sat, 15 Jul 2006 17:38:21 -0700

In net.venge.monotone.contrib.benchmark rev 
679ea52924887e816903342104f797ba9c0be6d4
when I run:

#!/bin/sh
rm -rf myscratch myresults
python2.4 benchmark.py \
   -m mtn-0.27=/home/anderse/projects/monotone/tar-0.27/mtn \
   -b pull='Pull(ExistingRepo("/home/anderse/.monotone/0.27-dbs/webtools.db"))' 
\
   myscratch myresults

I get:

No instrumenters given, using default 'time' instrumenter
Traceback (most recent call last):
  File "benchmark.py", line 4, in ?
    mtn_benchmark.cmdline.main(sys.argv[0], sys.argv[1:])
  File "/home/anderse/projects/monotone/benchmark/mtn_benchmark/cmdline.py", 
line 92, in main
    instrumenters["time"] = mtn_benchmark.instrumenters.TimingInstrumenter()
TypeError: __init__() takes exactly 2 arguments (1 given)

My attempts to guess what an appropriate second argument should be (I
tried about three things) all didn't work, although I could move
around where I got the assertion.


It also looks like memtime.c was left out of the added files, not
having that makes the MemTimingInstrumenterObj much less useful.
I re-attached it as well as a makefile for building both binaries.
        -Eric

Attachment: memtime.c
Description: Binary data

Attachment: Makefile
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]