equal
deleted
inserted
replaced
41 field = ui.config(b'profiling', b'sort') |
41 field = ui.config(b'profiling', b'sort') |
42 limit = ui.configint(b'profiling', b'limit') |
42 limit = ui.configint(b'profiling', b'limit') |
43 climit = ui.configint(b'profiling', b'nested') |
43 climit = ui.configint(b'profiling', b'nested') |
44 |
44 |
45 if format not in [b'text', b'kcachegrind']: |
45 if format not in [b'text', b'kcachegrind']: |
46 ui.warn( |
46 ui.warn(_(b"unrecognized profiling format '%s' - Ignored\n") % format) |
47 _(b"unrecognized profiling format '%s'" b" - Ignored\n") % format |
|
48 ) |
|
49 format = b'text' |
47 format = b'text' |
50 |
48 |
51 try: |
49 try: |
52 from . import lsprof |
50 from . import lsprof |
53 except ImportError: |
51 except ImportError: |