File: js-beautify-profile

package info (click to toggle)
node-js-beautify 1.7.5%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,400 kB
  • sloc: python: 10,222; sh: 848; makefile: 17
file content (16 lines) | stat: -rwxr-xr-x 232 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /usr/bin/env python

import sys
import unittest

#Speedup things...
try:
    import cProfile as profile
except ImportError:
    import profile

def run():
    sys.argv.append('discover')
    unittest.main()

profile.run('run()')