Last active
September 26, 2020 14:18
-
-
Save goldeneggg/078594f2eebb6253c891ec89686888f2 to your computer and use it in GitHub Desktop.
Additional document for https://github.com/goldeneggg/structil/pull/22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name old time/op new time/op delta | |
pkg:github.com/goldeneggg/structil goos:linux goarch:amd64 | |
NewFinder_Val 831ns ± 2% 971ns ± 4% +16.84% (p=0.008 n=5+5) | |
NewFinder_Val-2 831ns ± 5% 931ns ± 9% +11.98% (p=0.008 n=5+5) | |
NewFinder_Ptr 738ns ± 3% 779ns ± 1% +5.53% (p=0.008 n=5+5) | |
NewFinder_Ptr-2 778ns ± 6% 813ns ±12% ~ (p=0.421 n=5+5) | |
ToMap_1FindOnly 437ns ± 3% 405ns ± 3% -7.41% (p=0.008 n=5+5) | |
ToMap_1FindOnly-2 430ns ± 4% 426ns ± 6% ~ (p=0.587 n=5+5) | |
ToMap_2FindOnly 541ns ± 2% 574ns ± 4% +6.10% (p=0.008 n=5+5) | |
ToMap_2FindOnly-2 559ns ± 4% 580ns ± 2% ~ (p=0.103 n=5+5) | |
ToMap_1Struct_1Find 607ns ± 3% 607ns ± 2% ~ (p=0.794 n=5+5) | |
ToMap_1Struct_1Find-2 600ns ± 3% 587ns ± 3% ~ (p=0.151 n=5+5) | |
ToMap_1Struct_1Find_2Pair 985ns ± 5% 885ns ± 2% -10.12% (p=0.008 n=5+5) | |
ToMap_1Struct_1Find_2Pair-2 978ns ± 2% 880ns ± 2% -10.02% (p=0.008 n=5+5) | |
ToMap_2Struct_1Find 797ns ± 3% 750ns ± 8% ~ (p=0.079 n=5+5) | |
ToMap_2Struct_1Find-2 805ns ± 8% 780ns ± 2% ~ (p=0.286 n=5+5) | |
ToMap_2Struct_2Find 1.03µs ± 5% 0.94µs ± 5% -8.56% (p=0.016 n=5+5) | |
ToMap_2Struct_2Find-2 960ns ± 0% 1006ns ± 5% ~ (p=0.079 n=4+5) | |
NewFinderKeys_yml 138µs ± 3% 140µs ± 3% ~ (p=0.310 n=5+5) | |
NewFinderKeys_yml-2 141µs ± 7% 140µs ± 2% ~ (p=0.690 n=5+5) | |
NewFinderKeys_json 80.6µs ± 3% 90.1µs ± 6% +11.78% (p=0.008 n=5+5) | |
NewFinderKeys_json-2 80.2µs ± 4% 89.3µs ± 3% +11.29% (p=0.008 n=5+5) | |
NewGetter_Val 578ns ± 5% 613ns ± 2% +5.98% (p=0.024 n=5+5) | |
NewGetter_Val-2 595ns ±10% 637ns ± 3% ~ (p=0.151 n=5+5) | |
NewGetter_Ptr 431ns ± 7% 482ns ± 5% +11.93% (p=0.008 n=5+5) | |
NewGetter_Ptr-2 446ns ± 2% 500ns ± 4% +12.11% (p=0.008 n=5+5) | |
GetterGetType_String 27.9ns ± 5% 32.3ns ± 1% +15.78% (p=0.008 n=5+5) | |
GetterGetType_String-2 27.4ns ± 2% 32.7ns ± 2% +19.11% (p=0.008 n=5+5) | |
GetterGetValue_String 27.9ns ± 4% 32.5ns ± 1% +16.46% (p=0.008 n=5+5) | |
GetterGetValue_String-2 27.9ns ± 3% 30.5ns ± 6% +9.38% (p=0.008 n=5+5) | |
GetterHas_String 14.0ns ± 3% 13.3ns ± 2% -4.72% (p=0.016 n=5+5) | |
GetterHas_String-2 14.2ns ± 3% 12.6ns ± 4% -10.73% (p=0.008 n=5+5) | |
GetterGet_String 27.5ns ± 3% 29.6ns ± 4% +7.87% (p=0.008 n=5+5) | |
GetterGet_String-2 27.5ns ± 2% 30.3ns ± 8% +10.19% (p=0.008 n=5+5) | |
GetterEGet_String 67.8ns ± 2% 40.9ns ± 4% -39.71% (p=0.008 n=5+5) | |
GetterEGet_String-2 67.2ns ± 4% 44.3ns ± 2% -34.00% (p=0.008 n=5+5) | |
GetterString 30.6ns ± 2% 36.1ns ± 2% +18.00% (p=0.008 n=5+5) | |
GetterString-2 30.7ns ± 4% 36.0ns ± 0% +17.21% (p=0.008 n=5+5) | |
GetterUintptr 30.9ns ± 6% 36.0ns ± 5% +16.49% (p=0.008 n=5+5) | |
GetterUintptr-2 31.1ns ± 5% 33.3ns ± 2% +7.21% (p=0.008 n=5+5) | |
GetterUnsafePointer 30.5ns ± 5% 33.3ns ± 3% +9.17% (p=0.008 n=5+5) | |
GetterUnsafePointer-2 31.1ns ± 6% 33.3ns ± 1% +7.06% (p=0.008 n=5+5) | |
GetterIsStruct 23.2ns ± 3% 22.0ns ± 4% -5.01% (p=0.024 n=5+5) | |
GetterIsStruct-2 23.0ns ± 4% 21.8ns ± 2% -5.21% (p=0.016 n=5+5) | |
GetterIsSlice_Bytes 22.8ns ± 5% 22.1ns ± 3% ~ (p=0.294 n=5+5) | |
GetterIsSlice_Bytes-2 22.2ns ± 3% 22.6ns ± 5% ~ (p=0.786 n=5+5) | |
GetterIsSlice_StructSlice 22.4ns ± 3% 24.0ns ± 3% +7.25% (p=0.008 n=5+5) | |
GetterIsSlice_StructSlice-2 22.5ns ± 3% 23.9ns ± 2% +6.32% (p=0.008 n=5+5) | |
GetterIsSlice_StructPtrSlice 22.5ns ± 4% 23.5ns ± 2% +4.54% (p=0.032 n=5+5) | |
GetterIsSlice_StructPtrSlice-2 22.8ns ± 6% 22.0ns ± 5% ~ (p=0.222 n=5+5) | |
GetterMapGet 2.93µs ± 4% 3.24µs ± 5% +10.27% (p=0.008 n=5+5) | |
GetterMapGet-2 2.94µs ± 3% 3.21µs ± 4% +9.32% (p=0.008 n=5+5) | |
pkg:github.com/goldeneggg/structil/dynamicstruct goos:linux goarch:amd64 | |
AddString 416ns ± 1% 115ns ± 3% -72.29% (p=0.008 n=5+5) | |
AddString-2 426ns ± 2% 113ns ± 3% -73.53% (p=0.008 n=5+5) | |
AddStringWithTag 399ns ± 1% 126ns ± 4% -68.34% (p=0.008 n=5+5) | |
AddStringWithTag-2 417ns ± 2% 125ns ± 1% -69.93% (p=0.008 n=5+5) | |
AddInt 403ns ± 3% 125ns ± 3% -69.06% (p=0.008 n=5+5) | |
AddInt-2 417ns ± 4% 118ns ±16% -71.81% (p=0.008 n=5+5) | |
AddFloa32 413ns ± 4% 113ns ± 2% -72.61% (p=0.008 n=5+5) | |
AddFloa32-2 438ns ± 7% 115ns ± 5% -73.81% (p=0.008 n=5+5) | |
AddFloa64 411ns ± 3% 115ns ± 4% -72.05% (p=0.008 n=5+5) | |
AddFloa64-2 422ns ± 4% 113ns ± 3% -73.25% (p=0.008 n=5+5) | |
AddBool 407ns ± 3% 119ns ± 8% -70.79% (p=0.008 n=5+5) | |
AddBool-2 421ns ± 5% 124ns ± 8% -70.67% (p=0.008 n=5+5) | |
AddMap 531ns ± 3% 242ns ± 2% -54.43% (p=0.008 n=5+5) | |
AddMap-2 537ns ± 3% 224ns ± 3% -58.34% (p=0.008 n=5+5) | |
AddFunc 859ns ± 2% 583ns ± 3% -32.21% (p=0.008 n=5+5) | |
AddFunc-2 851ns ± 3% 576ns ± 2% -32.39% (p=0.008 n=5+5) | |
AddChanBoth 480ns ± 4% 168ns ± 5% -64.97% (p=0.008 n=5+5) | |
AddChanBoth-2 489ns ± 3% 169ns ± 4% -65.51% (p=0.008 n=5+5) | |
AddChanRecv 472ns ± 3% 176ns ± 8% -62.78% (p=0.008 n=5+5) | |
AddChanRecv-2 491ns ± 5% 187ns ± 4% -62.03% (p=0.008 n=5+5) | |
AddChanSend 502ns ± 6% 182ns ± 7% -63.69% (p=0.008 n=5+5) | |
AddChanSend-2 524ns ± 4% 181ns ± 5% -65.38% (p=0.008 n=5+5) | |
AddStruct 10.3µs ± 6% 9.9µs ± 1% ~ (p=0.190 n=5+4) | |
AddStruct-2 10.6µs ± 6% 10.3µs ± 3% ~ (p=0.421 n=5+5) | |
AddStructPtr 9.92µs ± 3% 9.95µs ± 2% ~ (p=1.000 n=5+5) | |
AddStructPtr-2 10.1µs ± 4% 10.3µs ± 8% ~ (p=0.310 n=5+5) | |
AddSlice 493ns ± 4% 194ns ± 6% -60.69% (p=0.008 n=5+5) | |
AddSlice-2 510ns ± 2% 207ns ± 1% -59.32% (p=0.008 n=5+5) | |
AddInterface 408ns ± 2% 127ns ± 2% -68.94% (p=0.008 n=5+5) | |
AddInterface-2 425ns ± 4% 120ns ± 6% -71.70% (p=0.008 n=5+5) | |
AddInterfacePtr 425ns ± 1% 133ns ± 5% -68.68% (p=0.008 n=5+5) | |
AddInterfacePtr-2 455ns ± 8% 126ns ± 2% -72.23% (p=0.008 n=5+5) | |
Build 48.4µs ±12% 47.0µs ± 8% ~ (p=0.421 n=5+5) | |
Build-2 38.7µs ± 4% 41.0µs ± 6% +6.10% (p=0.032 n=5+5) | |
BuildNonPtr 51.1µs ± 6% 52.5µs ± 2% ~ (p=0.222 n=5+5) | |
BuildNonPtr-2 38.9µs ± 4% 44.4µs ± 5% +14.16% (p=0.008 n=5+5) | |
Definition 33.9µs ± 2% 0.0µs ±10% -99.99% (p=0.008 n=5+5) | |
Definition-2 19.9µs ± 5% 0.0µs ± 6% -99.98% (p=0.008 n=5+5) | |
pkg:github.com/goldeneggg/structil/dynamicstruct/genericdecoder goos:linux goarch:amd64 | |
SingleJSONDecode 60.9µs ± 3% 65.2µs ± 2% +6.92% (p=0.008 n=5+5) | |
SingleJSONDecode-2 62.0µs ± 4% 66.8µs ± 3% +7.73% (p=0.008 n=5+5) | |
ArrayJSONDecode 113µs ± 2% 117µs ± 2% +3.13% (p=0.008 n=5+5) | |
ArrayJSONDecode-2 114µs ± 4% 122µs ± 3% +6.75% (p=0.008 n=5+5) | |
name old alloc/op new alloc/op delta | |
pkg:github.com/goldeneggg/structil goos:linux goarch:amd64 | |
NewFinder_Val 1.38kB ± 0% 1.28kB ± 0% -6.98% (p=0.008 n=5+5) | |
NewFinder_Val-2 1.38kB ± 0% 1.28kB ± 0% -6.98% (p=0.008 n=5+5) | |
NewFinder_Ptr 1.12kB ± 0% 1.02kB ± 0% -8.57% (p=0.008 n=5+5) | |
NewFinder_Ptr-2 1.12kB ± 0% 1.02kB ± 0% -8.57% (p=0.008 n=5+5) | |
ToMap_1FindOnly 368B ± 0% 352B ± 0% -4.35% (p=0.008 n=5+5) | |
ToMap_1FindOnly-2 368B ± 0% 352B ± 0% -4.35% (p=0.008 n=5+5) | |
ToMap_2FindOnly 400B ± 0% 368B ± 0% -8.00% (p=0.008 n=5+5) | |
ToMap_2FindOnly-2 400B ± 0% 368B ± 0% -8.00% (p=0.008 n=5+5) | |
ToMap_1Struct_1Find 416B ± 0% 384B ± 0% -7.69% (p=0.008 n=5+5) | |
ToMap_1Struct_1Find-2 416B ± 0% 384B ± 0% -7.69% (p=0.008 n=5+5) | |
ToMap_1Struct_1Find_2Pair 496B ± 0% 432B ± 0% -12.90% (p=0.008 n=5+5) | |
ToMap_1Struct_1Find_2Pair-2 496B ± 0% 432B ± 0% -12.90% (p=0.008 n=5+5) | |
ToMap_2Struct_1Find 496B ± 0% 448B ± 0% -9.68% (p=0.008 n=5+5) | |
ToMap_2Struct_1Find-2 496B ± 0% 448B ± 0% -9.68% (p=0.008 n=5+5) | |
ToMap_2Struct_2Find 576B ± 0% 512B ± 0% -11.11% (p=0.008 n=5+5) | |
ToMap_2Struct_2Find-2 576B ± 0% 512B ± 0% -11.11% (p=0.008 n=5+5) | |
NewFinderKeys_yml 27.6kB ± 0% 27.4kB ± 0% -0.67% (p=0.008 n=5+5) | |
NewFinderKeys_yml-2 27.6kB ± 0% 27.4kB ± 0% -0.67% (p=0.008 n=5+5) | |
NewFinderKeys_json 15.0kB ± 0% 14.8kB ± 0% -1.28% (p=0.008 n=5+5) | |
NewFinderKeys_json-2 15.0kB ± 0% 14.8kB ± 0% -1.28% (p=0.008 n=5+5) | |
NewGetter_Val 1.15kB ± 0% 1.15kB ± 0% ~ (all equal) | |
NewGetter_Val-2 1.15kB ± 0% 1.15kB ± 0% ~ (all equal) | |
NewGetter_Ptr 800B ± 0% 800B ± 0% ~ (all equal) | |
NewGetter_Ptr-2 800B ± 0% 800B ± 0% ~ (all equal) | |
GetterGetType_String 0.00B 0.00B ~ (all equal) | |
GetterGetType_String-2 0.00B 0.00B ~ (all equal) | |
GetterGetValue_String 0.00B 0.00B ~ (all equal) | |
GetterGetValue_String-2 0.00B 0.00B ~ (all equal) | |
GetterHas_String 0.00B 0.00B ~ (all equal) | |
GetterHas_String-2 0.00B 0.00B ~ (all equal) | |
GetterGet_String 0.00B 0.00B ~ (all equal) | |
GetterGet_String-2 0.00B 0.00B ~ (all equal) | |
GetterEGet_String 0.00B 0.00B ~ (all equal) | |
GetterEGet_String-2 0.00B 0.00B ~ (all equal) | |
GetterString 0.00B 0.00B ~ (all equal) | |
GetterString-2 0.00B 0.00B ~ (all equal) | |
GetterUintptr 0.00B 0.00B ~ (all equal) | |
GetterUintptr-2 0.00B 0.00B ~ (all equal) | |
GetterUnsafePointer 0.00B 0.00B ~ (all equal) | |
GetterUnsafePointer-2 0.00B 0.00B ~ (all equal) | |
GetterIsStruct 0.00B 0.00B ~ (all equal) | |
GetterIsStruct-2 0.00B 0.00B ~ (all equal) | |
GetterIsSlice_Bytes 0.00B 0.00B ~ (all equal) | |
GetterIsSlice_Bytes-2 0.00B 0.00B ~ (all equal) | |
GetterIsSlice_StructSlice 0.00B 0.00B ~ (all equal) | |
GetterIsSlice_StructSlice-2 0.00B 0.00B ~ (all equal) | |
GetterIsSlice_StructPtrSlice 0.00B 0.00B ~ (all equal) | |
GetterIsSlice_StructPtrSlice-2 0.00B 0.00B ~ (all equal) | |
GetterMapGet 3.01kB ± 0% 3.01kB ± 0% ~ (all equal) | |
GetterMapGet-2 3.01kB ± 0% 3.01kB ± 0% ~ (all equal) | |
pkg:github.com/goldeneggg/structil/dynamicstruct goos:linux goarch:amd64 | |
AddString 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddString-2 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddStringWithTag 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddStringWithTag-2 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddInt 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddInt-2 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddFloa32 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddFloa32-2 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddFloa64 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddFloa64-2 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddBool 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddBool-2 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddMap 736B ± 0% 32B ± 0% -95.65% (p=0.008 n=5+5) | |
AddMap-2 736B ± 0% 32B ± 0% -95.65% (p=0.008 n=5+5) | |
AddFunc 928B ± 0% 224B ± 0% -75.86% (p=0.008 n=5+5) | |
AddFunc-2 928B ± 0% 224B ± 0% -75.86% (p=0.008 n=5+5) | |
AddChanBoth 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddChanBoth-2 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddChanRecv 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddChanRecv-2 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddChanSend 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddChanSend-2 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddStruct 6.48kB ± 0% 5.78kB ± 0% ~ (p=0.079 n=4+5) | |
AddStruct-2 6.48kB ± 0% 5.78kB ± 0% -10.86% (p=0.016 n=5+4) | |
AddStructPtr 6.24kB ± 0% 5.54kB ± 0% -11.28% (p=0.008 n=5+5) | |
AddStructPtr-2 6.24kB ± 0% 5.54kB ± 0% -11.28% (p=0.000 n=5+4) | |
AddSlice 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddSlice-2 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddInterface 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddInterface-2 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddInterfacePtr 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
AddInterfacePtr-2 720B ± 0% 16B ± 0% -97.78% (p=0.008 n=5+5) | |
Build 30.2kB ± 1% 30.0kB ± 2% ~ (p=0.310 n=5+5) | |
Build-2 30.1kB ± 2% 30.2kB ± 2% ~ (p=0.548 n=5+5) | |
BuildNonPtr 30.2kB ± 2% 29.9kB ± 2% ~ (p=0.421 n=5+5) | |
BuildNonPtr-2 29.9kB ± 1% 30.2kB ± 2% ~ (p=0.222 n=5+5) | |
Definition 19.8kB ± 0% 0.0kB -100.00% (p=0.008 n=5+5) | |
Definition-2 19.8kB ± 0% 0.0kB -100.00% (p=0.008 n=5+5) | |
pkg:github.com/goldeneggg/structil/dynamicstruct/genericdecoder goos:linux goarch:amd64 | |
SingleJSONDecode 16.1kB ± 0% 16.5kB ± 0% +2.91% (p=0.016 n=4+5) | |
SingleJSONDecode-2 16.1kB ± 0% 16.5kB ± 0% +2.77% (p=0.008 n=5+5) | |
ArrayJSONDecode 27.7kB ± 0% 28.6kB ± 0% +3.40% (p=0.008 n=5+5) | |
ArrayJSONDecode-2 27.7kB ± 0% 28.6kB ± 0% +3.26% (p=0.008 n=5+5) | |
name old allocs/op new allocs/op delta | |
pkg:github.com/goldeneggg/structil goos:linux goarch:amd64 | |
NewFinder_Val 12.0 ± 0% 12.0 ± 0% ~ (all equal) | |
NewFinder_Val-2 12.0 ± 0% 12.0 ± 0% ~ (all equal) | |
NewFinder_Ptr 11.0 ± 0% 11.0 ± 0% ~ (all equal) | |
NewFinder_Ptr-2 11.0 ± 0% 11.0 ± 0% ~ (all equal) | |
ToMap_1FindOnly 4.00 ± 0% 3.00 ± 0% -25.00% (p=0.008 n=5+5) | |
ToMap_1FindOnly-2 4.00 ± 0% 3.00 ± 0% -25.00% (p=0.008 n=5+5) | |
ToMap_2FindOnly 4.00 ± 0% 3.00 ± 0% -25.00% (p=0.008 n=5+5) | |
ToMap_2FindOnly-2 4.00 ± 0% 3.00 ± 0% -25.00% (p=0.008 n=5+5) | |
ToMap_1Struct_1Find 6.00 ± 0% 4.00 ± 0% -33.33% (p=0.008 n=5+5) | |
ToMap_1Struct_1Find-2 6.00 ± 0% 4.00 ± 0% -33.33% (p=0.008 n=5+5) | |
ToMap_1Struct_1Find_2Pair 10.0 ± 0% 6.0 ± 0% -40.00% (p=0.008 n=5+5) | |
ToMap_1Struct_1Find_2Pair-2 10.0 ± 0% 6.0 ± 0% -40.00% (p=0.008 n=5+5) | |
ToMap_2Struct_1Find 7.00 ± 0% 5.00 ± 0% -28.57% (p=0.008 n=5+5) | |
ToMap_2Struct_1Find-2 7.00 ± 0% 5.00 ± 0% -28.57% (p=0.008 n=5+5) | |
ToMap_2Struct_2Find 8.00 ± 0% 6.00 ± 0% -25.00% (p=0.008 n=5+5) | |
ToMap_2Struct_2Find-2 8.00 ± 0% 6.00 ± 0% -25.00% (p=0.008 n=5+5) | |
NewFinderKeys_yml 374 ± 0% 361 ± 0% -3.48% (p=0.008 n=5+5) | |
NewFinderKeys_yml-2 374 ± 0% 361 ± 0% -3.48% (p=0.008 n=5+5) | |
NewFinderKeys_json 223 ± 0% 210 ± 0% -5.83% (p=0.008 n=5+5) | |
NewFinderKeys_json-2 223 ± 0% 210 ± 0% -5.83% (p=0.008 n=5+5) | |
NewGetter_Val 7.00 ± 0% 7.00 ± 0% ~ (all equal) | |
NewGetter_Val-2 7.00 ± 0% 7.00 ± 0% ~ (all equal) | |
NewGetter_Ptr 6.00 ± 0% 6.00 ± 0% ~ (all equal) | |
NewGetter_Ptr-2 6.00 ± 0% 6.00 ± 0% ~ (all equal) | |
GetterGetType_String 0.00 0.00 ~ (all equal) | |
GetterGetType_String-2 0.00 0.00 ~ (all equal) | |
GetterGetValue_String 0.00 0.00 ~ (all equal) | |
GetterGetValue_String-2 0.00 0.00 ~ (all equal) | |
GetterHas_String 0.00 0.00 ~ (all equal) | |
GetterHas_String-2 0.00 0.00 ~ (all equal) | |
GetterGet_String 0.00 0.00 ~ (all equal) | |
GetterGet_String-2 0.00 0.00 ~ (all equal) | |
GetterEGet_String 0.00 0.00 ~ (all equal) | |
GetterEGet_String-2 0.00 0.00 ~ (all equal) | |
GetterString 0.00 0.00 ~ (all equal) | |
GetterString-2 0.00 0.00 ~ (all equal) | |
GetterUintptr 0.00 0.00 ~ (all equal) | |
GetterUintptr-2 0.00 0.00 ~ (all equal) | |
GetterUnsafePointer 0.00 0.00 ~ (all equal) | |
GetterUnsafePointer-2 0.00 0.00 ~ (all equal) | |
GetterIsStruct 0.00 0.00 ~ (all equal) | |
GetterIsStruct-2 0.00 0.00 ~ (all equal) | |
GetterIsSlice_Bytes 0.00 0.00 ~ (all equal) | |
GetterIsSlice_Bytes-2 0.00 0.00 ~ (all equal) | |
GetterIsSlice_StructSlice 0.00 0.00 ~ (all equal) | |
GetterIsSlice_StructSlice-2 0.00 0.00 ~ (all equal) | |
GetterIsSlice_StructPtrSlice 0.00 0.00 ~ (all equal) | |
GetterIsSlice_StructPtrSlice-2 0.00 0.00 ~ (all equal) | |
GetterMapGet 33.0 ± 0% 33.0 ± 0% ~ (all equal) | |
GetterMapGet-2 33.0 ± 0% 33.0 ± 0% ~ (all equal) | |
pkg:github.com/goldeneggg/structil/dynamicstruct goos:linux goarch:amd64 | |
AddString 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddString-2 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddStringWithTag 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddStringWithTag-2 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddInt 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddInt-2 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddFloa32 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddFloa32-2 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddFloa64 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddFloa64-2 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddBool 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddBool-2 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddMap 7.00 ± 0% 2.00 ± 0% -71.43% (p=0.008 n=5+5) | |
AddMap-2 7.00 ± 0% 2.00 ± 0% -71.43% (p=0.008 n=5+5) | |
AddFunc 10.0 ± 0% 5.0 ± 0% -50.00% (p=0.008 n=5+5) | |
AddFunc-2 10.0 ± 0% 5.0 ± 0% -50.00% (p=0.008 n=5+5) | |
AddChanBoth 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddChanBoth-2 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddChanRecv 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddChanRecv-2 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddChanSend 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddChanSend-2 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddStruct 56.0 ± 0% 51.0 ± 0% -8.93% (p=0.008 n=5+5) | |
AddStruct-2 56.0 ± 0% 51.0 ± 0% -8.93% (p=0.008 n=5+5) | |
AddStructPtr 55.0 ± 0% 50.0 ± 0% -9.09% (p=0.008 n=5+5) | |
AddStructPtr-2 55.0 ± 0% 50.0 ± 0% -9.09% (p=0.008 n=5+5) | |
AddSlice 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddSlice-2 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddInterface 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddInterface-2 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddInterfacePtr 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
AddInterfacePtr-2 6.00 ± 0% 1.00 ± 0% -83.33% (p=0.008 n=5+5) | |
Build 90.0 ± 0% 90.0 ± 0% ~ (all equal) | |
Build-2 90.0 ± 0% 90.0 ± 0% ~ (all equal) | |
BuildNonPtr 90.0 ± 0% 90.0 ± 0% ~ (all equal) | |
BuildNonPtr-2 90.0 ± 0% 90.0 ± 0% ~ (all equal) | |
Definition 78.0 ± 0% 0.0 -100.00% (p=0.008 n=5+5) | |
Definition-2 78.0 ± 0% 0.0 -100.00% (p=0.008 n=5+5) | |
pkg:github.com/goldeneggg/structil/dynamicstruct/genericdecoder goos:linux goarch:amd64 | |
SingleJSONDecode 413 ± 0% 504 ± 0% +22.03% (p=0.008 n=5+5) | |
SingleJSONDecode-2 413 ± 0% 504 ± 0% +22.03% (p=0.008 n=5+5) | |
ArrayJSONDecode 772 ± 0% 955 ± 0% +23.70% (p=0.008 n=5+5) | |
ArrayJSONDecode-2 772 ± 0% 955 ± 0% +23.70% (p=0.008 n=5+5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment