def METHOD_NAME():
    """Test Least-Frequently-Used retention policy."""
    # Now, the stored Cosmologies are { s8_arr[0], 0.43, s8_arr[2] }
    # from oldest to newest. Here, we call each a different number of times
    # and we check that the one used the least (0.43) is discarded.
    ccl.Caching.enable()
    ccl.Caching.policy = "lfu"
    t1 = timeit_(sigma8=0.43)  # increments counter by 1
    _ = [timeit_(sigma8=s8_arr[0]) for _ in range(5)]
    _ = [timeit_(sigma8=s8_arr[2]) for _ in range(3)]
    # create new and discard the least frequently used
    cosmo_create_and_compute_linpow(0.44)
    t2 = timeit_(sigma8=0.43)  # cached again
    assert t2/t1 > SPEEDUP
    ccl.Caching.disable()