Avatar for the pydantic user
pydantic
monty
BlogDocsChangelog

Implement full Python math module (~50 functions)

#200
Comparing
Butch78:math-module
(
cf78240
) with
main
(
93bc313
)
CodSpeed Performance Gauge
0%
Untouched
13

Benchmarks

13 total
list_append__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
12.9 µs12.8 µs
dict_comp__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
635 µs626.6 µs
func_call_kwargs__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
20 µs19.8 µs
add_two__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
8.6 µs8.5 µs
end_to_end__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
39 µs38.8 µs
loop_mod_13__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
270 µs269.6 µs
list_comp__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
318.2 µs317.9 µs
empty_tuples__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
28.6 ms28.6 ms
fib__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
156 ms156 ms
pair_tuples__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
89.3 ms89.3 ms
kitchen_sink__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
62.9 µs63 µs
list_append_str__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
109.4 ms109.7 ms
list_append_int__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
50.4 ms50.6 ms

Commits

Click on a commit to change the comparison range
Base
main
93bc313
+0.25%
Merge remote-tracking branch 'upstream/main' into math-module
8580b01
14 hours ago
by Butch78
-0.13%
Apply rustfmt formatting to math module
5177399
13 hours ago
by Butch78
+0.21%
Address review feedback on math module
cf78240
13 hours ago
by Butch78
© 2026 CodSpeed Technology
Home Terms Privacy Docs