def pprint_timing(value):
    """Pretty-print timing data"""
    RANGES = [("h", 3600), ("m", 60), ("s", 1), ("ms", 0.001), ("μs", 1e-6), ("ns", 1e-9)]
    value += 1e-9  # CHEAT
    for postfix, limit in RANGES:
        if abs(value) >= limit:
            return "{:.2f}{}".format(float(value)/limit, postfix).replace(".00", "")