Caustic v0.1.11 Caustic.Benchmark View Source

To compare speed of native implementation vs optimized implementation.

Link to this section Summary

Link to this section Functions

Link to this function benchmark_ecpoint_mul(g \\ {{15, 223}, {86, 223}, {0, 223}, {7, 223}}, n_max \\ 9999, times \\ 10) View Source
Link to this function benchmark_ecpoint_mul_simple(g \\ {{15, 223}, {86, 223}, {0, 223}, {7, 223}}, n_max \\ 9999999998000000000189999999988600000000484499999984496000000387599999992248000000125969999998320400000018475599999832040000001259699999992248000000038759999999844960000000484499999998860000000001899999999998000000000001, times \\ 10) View Source
Link to this function benchmark_pow_mod(x \\ 5, y \\ 12345, m \\ 17, times \\ 1000) View Source