Nick Volynets
Nick Volynets
Thanks! I think that setting the hostname and port via CLI args is a better approach since it allows launching more than one instance of the server.
This is interesting. It seems that it's because `unittest` does some magic to do autodiscovery. I'll take a look.
It happens because `unittest` discovery tries to load tests from `__main__` module by default. When module is run under `vprof`, `__main__` points to `vprof` module, which does not have any...
Works for me when I save this code to `example_test.py`: ``` python import unittest class MyTest(unittest.TestCase): def test_fail(self): self.assertTrue(False) unittest.main(module='example_test') ``` and run it.
Thanks! I just haven't looked at IPython/Jupyter integration yet.
I would suggest running your program on smaller input if it's possible.
Unfortunately I don't have access to Windows machine ATM. Installation process is OS agnostic, so generally it should be fine.
It happens since profiling agents are run one after another: memory profiler always runs first and in the same process and others do run in their own processes for isolation....
Seems that Safari does not support SVG transform attributes yet (part of SVG 2 standard), but Chrome and Firefox do.
Thanks! Currently `vprof` is limited by what `cProfile` can do and `cProfile` does not work with `multiprocessing`. As workaround I can suggest isolating code you want to profile in single...