Avatar for the pydantic user
pydantic
monty
BlogDocsChangelog

Implement `hasattr` builtin function

#66
Comparing
hasattr
(
873ee89
) with
main
(
7909646
)
CodSpeed Performance Gauge
0%
Untouched
11

Benchmarks

11 total
kitchen_sink__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
59.4 µs58.6 µs
list_append__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
11.8 µs11.7 µs
add_two__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
7 µs6.9 µs
func_call_kwargs__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
19.1 µs18.9 µs
end_to_end__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
37.2 µs37.1 µs
loop_mod_13__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
239.1 µs238.8 µs
dict_comp__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
620.8 µs620.5 µs
fib__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
134.3 ms134.3 ms
list_append_int__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
45.9 ms45.9 ms
list_comp__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
300.7 µs300.7 µs
list_append_str__monty
crates/monty/benches/main.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
106.3 ms106.3 ms

Commits

Click on a commit to change the comparison range
Base
main
7909646
+0.42%
implement has_attr
873ee89
24 days ago
by friendlymatthew
© 2026 CodSpeed Technology
Home Terms Privacy Docs