Skip to content

Commit 1c8d276

Browse files
committed
[skip ci] benchmark result
1 parent 06d2c4a commit 1c8d276

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

benchmark/bench.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ using AcuteML, BenchmarkTools
22

33
# Type Definition
44

5-
@aml mutable struct Person
6-
"person", check_course
5+
@aml mutable struct Person "person", check_course
76
age::UInt64, "~"
87
field, "study-field"
98
GPA::Float64 = 4.5, "~", GPAcheck

benchmark/benchmark_result.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
# Benchmark Result
2+
v 0.10.2
3+
Outside Atom
4+
8.700 μs (100 allocations: 3.61 KiB)
5+
3.938 μs (66 allocations: 3.17 KiB)
6+
220.101 μs (403 allocations: 16.33 KiB)
7+
8+
Inside Atom
9+
9.000 μs (100 allocations: 3.61 KiB)
10+
4.114 μs (66 allocations: 3.17 KiB)
11+
300.800 μs (403 allocations: 16.33 KiB)
212

313
v 0.10
414
small bump in extraction is because of two additional `hasmethod` check in `nodeparse`. Using traits this will be fixed

0 commit comments

Comments
 (0)