diff options
Diffstat (limited to 'benchmarks/varint_speed.py')
| -rw-r--r-- | benchmarks/varint_speed.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/varint_speed.py b/benchmarks/varint_speed.py index 624a12a..fd63d0a 100644 --- a/benchmarks/varint_speed.py +++ b/benchmarks/varint_speed.py @@ -1,6 +1,6 @@ #!/usr/bin/env python from __future__ import print_function -import perf +import pyperf from kafka.vendor import six @@ -398,7 +398,7 @@ _assert_valid_dec(decode_varint_3) # import dis # dis.dis(decode_varint_3) -runner = perf.Runner() +runner = pyperf.Runner() # Encode algorithms returning a bytes result for bench_func in [ encode_varint_1, |
