ionelmc / pytest-benchmark

py.test fixture for benchmarking code
BSD 2-Clause "Simplified" License
1.23k stars 118 forks source link

benchmark-histogram generates black empty svgs #31

Open nzjrs opened 8 years ago

nzjrs commented 8 years ago
platform linux2 -- Python 2.7.3, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
benchmark: 3.0.0rc1 (defaults: timer=time.time disable_gc=False min_rounds=5 min_time=5.00us max_time=1.00s calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /home/XXX, inifile: setup.cfg
plugins: benchmark-3.0.0rc1
collected 56 items / 1 errors
pip install --upgrade statistics pytest-benchmark[histogram]
ionelmc commented 8 years ago

Can you attach the svg? Also, please paste the result of pip list | grep pygal.

nzjrs commented 8 years ago
pip list | grep pygal

no such command

nzjrs commented 8 years ago

benchmark_20151028_140921-test_test_statepassing py_test_core_state_passing not_really_a_gif

nzjrs commented 8 years ago

this is a svg but github would not let me attach it

nzjrs commented 8 years ago

install log is here https://github.com/ionelmc/pytest-benchmark/issues/29#issuecomment-151839366

ionelmc commented 8 years ago

It displays fine here (also works fine in Firefox): 2a504c4c-7d7e-11e5-9827-996c2a760527-screenshot

What viewer are you using?

nzjrs commented 8 years ago

inkscake 0.48.5

ionelmc commented 8 years ago

I think --benchmark-histogram=foobar/ should put the stuff in a foobar directory.

nzjrs commented 8 years ago

I think --benchmark-histogram=foobar/ should put the stuff in a foobar directory.

thanks, that wasn't clear from the docs

ionelmc commented 8 years ago

Also, about the back background, pygal is using features (css) that Inkscape doesn't support.