Задать вопрос

Тел: +7 965 3737 888

598

Просмотров

0

Ответов

decorator for runsnake

  1. Add this decorator to whatever function: @profile('/tmp/0123test.prof') def test_function(): pass
  2. If it's a django view function, let it run once.
  3. Use "runsnake" to open the ".prof" file. Sweet.

Вопрос полезен? Да0/Нет0
file_4654.py(1.3Кб)
None