equal
deleted
inserted
replaced
1876 perf[f] = -1e9 # file does not exist, tell early |
1876 perf[f] = -1e9 # file does not exist, tell early |
1877 return -1e9 |
1877 return -1e9 |
1878 for kw, mul in slow.items(): |
1878 for kw, mul in slow.items(): |
1879 if kw in f: |
1879 if kw in f: |
1880 val *= mul |
1880 val *= mul |
1881 if f.endswith('.py'): |
1881 if f.endswith(b'.py'): |
1882 val /= 10.0 |
1882 val /= 10.0 |
1883 perf[f] = val / 1000.0 |
1883 perf[f] = val / 1000.0 |
1884 return perf[f] |
1884 return perf[f] |
1885 tests.sort(key=sortkey) |
1885 tests.sort(key=sortkey) |
1886 |
1886 |