-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eab7bdc
commit 3941f35
Showing
17 changed files
with
18 additions
and
18 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
3941f35
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UnitsNet Benchmarks (netcoreapp50)
UnitsNet.Benchmark.UnitsNetBenchmarks.Constructor
10.762680241292953
ns (± 0.20550809181165872
)9.975507432731558
ns (± 0.5501684617165903
)1.08
UnitsNet.Benchmark.UnitsNetBenchmarks.Constructor_SI
357.01058461954756
ns (± 7.1372006102422185
)311.70237964107037
ns (± 6.528920330820788
)1.15
UnitsNet.Benchmark.UnitsNetBenchmarks.FromMethod
27.486653866660795
ns (± 0.7052374461982513
)24.907491472503573
ns (± 0.917876526522211
)1.10
UnitsNet.Benchmark.UnitsNetBenchmarks.ToProperty
9.647265403940736
ns (± 0.24436965649841216
)8.65624268486125
ns (± 0.2802641022495865
)1.11
UnitsNet.Benchmark.UnitsNetBenchmarks.As
10.451381249992513
ns (± 0.37808977348743045
)8.485613369903708
ns (± 0.24882298382418772
)1.23
UnitsNet.Benchmark.UnitsNetBenchmarks.As_SI
352.64469239020053
ns (± 7.042236169148197
)312.9609619793179
ns (± 9.916047350601964
)1.13
UnitsNet.Benchmark.UnitsNetBenchmarks.ToUnit
18.38293341795825
ns (± 0.46674607936234946
)16.269123244304186
ns (± 0.30944670159568866
)1.13
UnitsNet.Benchmark.UnitsNetBenchmarks.ToUnit_SI
362.7273380916743
ns (± 4.288199546059645
)322.35963793982665
ns (± 10.735510678290277
)1.13
UnitsNet.Benchmark.UnitsNetBenchmarks.ToStringTest
1397.4641789615885
ns (± 29.75552361395467
)1329.5437526059616
ns (± 71.796092288763
)1.05
UnitsNet.Benchmark.UnitsNetBenchmarks.Parse
48715.93186192505
ns (± 1344.0692611435604
)44430.95132055648
ns (± 2449.0662084662995
)1.10
UnitsNet.Benchmark.UnitsNetBenchmarks.TryParseValid
48514.316516971056
ns (± 731.7191485092964
)48779.33097568067
ns (± 1229.2101116661433
)0.99
UnitsNet.Benchmark.UnitsNetBenchmarks.TryParseInvalid
52370.13808379282
ns (± 1266.8476377098445
)52483.757421543676
ns (± 1249.0699823159543
)1.00
UnitsNet.Benchmark.UnitsNetBenchmarks.QuantityFrom
3025.252525252525
ns (± 307.17389688453596
)3175.7894736842104
ns (± 196.6289244505272
)0.95
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_As
23.033440630109205
ns (± 0.896450941779016
)23.113480842119063
ns (± 0.6432935292437244
)1.00
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_As_SI
369.11621711161166
ns (± 10.590952065043025
)348.7067604624619
ns (± 8.802801673228258
)1.06
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_ToUnit
32.9822614871802
ns (± 1.0210152128935626
)30.787585082471786
ns (± 1.260568581966445
)1.07
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_ToStringTest
1500.3819564952305
ns (± 32.72735001771904
)1419.6170137605993
ns (± 32.245009355336094
)1.06
This comment was automatically generated by workflow using github-action-benchmark.
3941f35
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UnitsNet Benchmarks (netcoreapp21)
UnitsNet.Benchmark.UnitsNetBenchmarks.Constructor
13.157055167143424
ns (± 0.12399562724111987
)10.927205334260533
ns (± 0.02213141067543832
)1.20
UnitsNet.Benchmark.UnitsNetBenchmarks.Constructor_SI
661.3451204402696
ns (± 8.098709186829298
)531.736716584875
ns (± 3.9443309423513817
)1.24
UnitsNet.Benchmark.UnitsNetBenchmarks.FromMethod
31.52432387060103
ns (± 0.6391941291230011
)25.824730401626116
ns (± 0.045224690312892654
)1.22
UnitsNet.Benchmark.UnitsNetBenchmarks.ToProperty
10.621084211878069
ns (± 0.19585380719202486
)8.735902803008404
ns (± 0.02424024447807335
)1.22
UnitsNet.Benchmark.UnitsNetBenchmarks.As
10.528828940410628
ns (± 0.07526994662455869
)8.738126841321082
ns (± 0.020659162060540144
)1.20
UnitsNet.Benchmark.UnitsNetBenchmarks.As_SI
632.6191973886522
ns (± 11.814872425829252
)509.04708321035434
ns (± 1.794603699488407
)1.24
UnitsNet.Benchmark.UnitsNetBenchmarks.ToUnit
21.665967448244526
ns (± 0.36675322602185145
)17.642163630074233
ns (± 0.031363196739595166
)1.23
UnitsNet.Benchmark.UnitsNetBenchmarks.ToUnit_SI
624.2194128496774
ns (± 9.487266956071295
)520.9120235831207
ns (± 2.0435812750109523
)1.20
UnitsNet.Benchmark.UnitsNetBenchmarks.ToStringTest
2454.888036932317
ns (± 32.274075950292755
)2171.6073619987033
ns (± 11.920561135020337
)1.13
UnitsNet.Benchmark.UnitsNetBenchmarks.Parse
71926.57808895984
ns (± 1627.8427398600284
)59176.37382587418
ns (± 118.27082214418797
)1.22
UnitsNet.Benchmark.UnitsNetBenchmarks.TryParseValid
70878.77897092213
ns (± 890.8137160887802
)59050.48565009544
ns (± 112.41489026395146
)1.20
UnitsNet.Benchmark.UnitsNetBenchmarks.TryParseInvalid
80455.41947693563
ns (± 1781.5020809913262
)64784.809572825536
ns (± 165.72938832797965
)1.24
UnitsNet.Benchmark.UnitsNetBenchmarks.QuantityFrom
2056.179775280899
ns (± 138.95311192479753
)1720.6349206349207
ns (± 78.61447408126726
)1.20
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_As
23.60021513768812
ns (± 0.4378420197611483
)19.144811432788995
ns (± 0.0769589211799713
)1.23
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_As_SI
634.8128647029133
ns (± 7.669648890455269
)501.1882286989545
ns (± 2.1018525476401657
)1.27
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_ToUnit
34.05443684573263
ns (± 0.9692501201427409
)26.322689575529918
ns (± 0.10009671823399638
)1.29
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_ToStringTest
2523.4985441918025
ns (± 22.948277807273637
)1953.5538057742783
ns (± 11.272715791157594
)1.29
This comment was automatically generated by workflow using github-action-benchmark.
3941f35
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UnitsNet Benchmarks (net472)
UnitsNet.Benchmark.UnitsNetBenchmarks.Constructor
13.902746102101354
ns (± 0.43615780552308314
)12.641381466545301
ns (± 0.02563914082091724
)1.10
UnitsNet.Benchmark.UnitsNetBenchmarks.Constructor_SI
542.7707033521177
ns (± 13.659230940474934
)491.436940886648
ns (± 3.156855982114209
)1.10
UnitsNet.Benchmark.UnitsNetBenchmarks.FromMethod
33.37674255613641
ns (± 1.098185686871103
)29.48010223559612
ns (± 0.07091583672330061
)1.13
UnitsNet.Benchmark.UnitsNetBenchmarks.ToProperty
9.784051065687871
ns (± 0.33392997430022375
)8.67696017196383
ns (± 0.03920427377564806
)1.13
UnitsNet.Benchmark.UnitsNetBenchmarks.As
10.057092774165062
ns (± 0.47919069197254444
)8.675413836217079
ns (± 0.036592375811305485
)1.16
UnitsNet.Benchmark.UnitsNetBenchmarks.As_SI
562.2914616033606
ns (± 14.457490944519638
)478.96095262366646
ns (± 4.965909837850831
)1.17
UnitsNet.Benchmark.UnitsNetBenchmarks.ToUnit
21.507889149920626
ns (± 0.5602800640699573
)19.368347045577064
ns (± 0.03349514255005014
)1.11
UnitsNet.Benchmark.UnitsNetBenchmarks.ToUnit_SI
521.8376930130356
ns (± 7.775795196991084
)570.2267051745325
ns (± 1.242922578492853
)0.92
UnitsNet.Benchmark.UnitsNetBenchmarks.ToStringTest
1926.2569817420351
ns (± 52.73032514710164
)1751.551177385023
ns (± 9.420439040590281
)1.10
UnitsNet.Benchmark.UnitsNetBenchmarks.Parse
54280.765483276664
ns (± 1307.5875912057581
)52855.11219147345
ns (± 176.01739914389032
)1.03
UnitsNet.Benchmark.UnitsNetBenchmarks.TryParseValid
57946.52113130444
ns (± 1722.7293199871942
)54215.42745776665
ns (± 129.4187083541623
)1.07
UnitsNet.Benchmark.UnitsNetBenchmarks.TryParseInvalid
60033.53652082413
ns (± 1331.0892719893598
)58602.442074004604
ns (± 253.87699212494823
)1.02
UnitsNet.Benchmark.UnitsNetBenchmarks.QuantityFrom
2231.313131313131
ns (± 174.17236633047173
)1625.9259259259259
ns (± 67.80990406090491
)1.37
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_As
20.536034673101902
ns (± 0.5537503665399608
)18.12388752621331
ns (± 0.09905540220404788
)1.13
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_As_SI
548.6948221578201
ns (± 6.897455856797485
)474.8843879723665
ns (± 3.362319993078054
)1.16
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_ToUnit
32.894969612891046
ns (± 0.8352035918856535
)26.817236873576128
ns (± 0.0848530690350929
)1.23
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_ToStringTest
2028.6208704672272
ns (± 49.10813890231726
)1982.039267690721
ns (± 10.431917653285504
)1.02
This comment was automatically generated by workflow using github-action-benchmark.