Skip to content

Commit

Permalink
UnitsNet: 4.92.0
Browse files Browse the repository at this point in the history
  • Loading branch information
angularsen committed May 21, 2021
1 parent 935c6a6 commit 08752bc
Show file tree
Hide file tree
Showing 17 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>UnitsNet.nanoFramework.Duration</id>
<version>4.91.0</version>
<version>4.92.0</version>
<title>Units.NET Duration - nanoFramework</title>
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
<owners>UnitsNet</owners>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>UnitsNet.nanoFramework.ElectricCurrent</id>
<version>4.91.0</version>
<version>4.92.0</version>
<title>Units.NET ElectricCurrent - nanoFramework</title>
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
<owners>UnitsNet</owners>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>UnitsNet.nanoFramework.ElectricPotential</id>
<version>4.91.0</version>
<version>4.92.0</version>
<title>Units.NET ElectricPotential - nanoFramework</title>
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
<owners>UnitsNet</owners>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>UnitsNet.nanoFramework.ElectricPotentialDc</id>
<version>4.91.0</version>
<version>4.92.0</version>
<title>Units.NET ElectricPotentialDc - nanoFramework</title>
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
<owners>UnitsNet</owners>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>UnitsNet.nanoFramework.ElectricResistance</id>
<version>4.91.0</version>
<version>4.92.0</version>
<title>Units.NET ElectricResistance - nanoFramework</title>
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
<owners>UnitsNet</owners>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>UnitsNet.nanoFramework.Frequency</id>
<version>4.91.0</version>
<version>4.92.0</version>
<title>Units.NET Frequency - nanoFramework</title>
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
<owners>UnitsNet</owners>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>UnitsNet.nanoFramework.Illuminance</id>
<version>4.91.0</version>
<version>4.92.0</version>
<title>Units.NET Illuminance - nanoFramework</title>
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
<owners>UnitsNet</owners>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>UnitsNet.nanoFramework.Length</id>
<version>4.91.0</version>
<version>4.92.0</version>
<title>Units.NET Length - nanoFramework</title>
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
<owners>UnitsNet</owners>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>UnitsNet.nanoFramework.Pressure</id>
<version>4.91.0</version>
<version>4.92.0</version>
<title>Units.NET Pressure - nanoFramework</title>
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
<owners>UnitsNet</owners>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>UnitsNet.nanoFramework.Ratio</id>
<version>4.91.0</version>
<version>4.92.0</version>
<title>Units.NET Ratio - nanoFramework</title>
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
<owners>UnitsNet</owners>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>UnitsNet.nanoFramework.RelativeHumidity</id>
<version>4.91.0</version>
<version>4.92.0</version>
<title>Units.NET RelativeHumidity - nanoFramework</title>
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
<owners>UnitsNet</owners>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>UnitsNet.nanoFramework.Temperature</id>
<version>4.91.0</version>
<version>4.92.0</version>
<title>Units.NET Temperature - nanoFramework</title>
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
<owners>UnitsNet</owners>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>UnitsNet.nanoFramework.VolumeConcentration</id>
<version>4.91.0</version>
<version>4.92.0</version>
<title>Units.NET VolumeConcentration - nanoFramework</title>
<authors>Andreas Gullberg Larsen,nanoFramework project contributors</authors>
<owners>UnitsNet</owners>
Expand Down
2 changes: 1 addition & 1 deletion UnitsNet.NumberExtensions/UnitsNet.NumberExtensions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- NuGet properties -->
<PropertyGroup>
<PackageId>UnitsNet.NumberExtensions</PackageId>
<Version>4.91.0</Version>
<Version>4.92.0</Version>
<Authors>Andreas Gullberg Larsen, Lu Li, Jon Suda</Authors>
<Title>Units.NET NumberExtensions</Title>
<Description>Adds extension methods to number types to more easily create quantities, such as 5.Meters() instead of Length.FromMeters(5).</Description>
Expand Down
4 changes: 2 additions & 2 deletions UnitsNet.WindowsRuntimeComponent/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("")]
[assembly: AssemblyVersion("4.91.0")]
[assembly: AssemblyFileVersion("4.91.0")]
[assembly: AssemblyVersion("4.92.0")]
[assembly: AssemblyFileVersion("4.92.0")]
[assembly: InternalsVisibleTo("UnitsNet.WindowsRuntimeComponent.Tests")]
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>UnitsNet.WindowsRuntimeComponent</id>
<version>4.91.0</version>
<version>4.92.0</version>
<title>Units.NET - Windows Runtime Component</title>
<authors>Andreas Gullberg Larsen</authors>
<owners>Andreas Gullberg Larsen</owners>
Expand Down
2 changes: 1 addition & 1 deletion UnitsNet/UnitsNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- NuGet properties -->
<PropertyGroup>
<PackageId>UnitsNet</PackageId>
<Version>4.91.0</Version>
<Version>4.92.0</Version>
<Authors>Andreas Gullberg Larsen</Authors>
<Title>Units.NET</Title>
<Description>Get all the common units of measurement and the conversions between them. It is light-weight and thoroughly tested.</Description>
Expand Down

3 comments on commit 08752bc

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UnitsNet Benchmarks (netcoreapp50)

Benchmark suite Current: 08752bc Previous: 9bc3f8d Ratio
UnitsNet.Benchmark.UnitsNetBenchmarks.Constructor 9.975507432731558 ns (± 0.5501684617165903) 11.926704694259058 ns (± 0.17389265027638198) 0.84
UnitsNet.Benchmark.UnitsNetBenchmarks.Constructor_SI 311.70237964107037 ns (± 6.528920330820788) 405.7879289037511 ns (± 8.63124207352224) 0.77
UnitsNet.Benchmark.UnitsNetBenchmarks.FromMethod 24.907491472503573 ns (± 0.917876526522211) 30.68711480905888 ns (± 0.4988926569848098) 0.81
UnitsNet.Benchmark.UnitsNetBenchmarks.ToProperty 8.65624268486125 ns (± 0.2802641022495865) 10.807105318552809 ns (± 0.19635953865762099) 0.80
UnitsNet.Benchmark.UnitsNetBenchmarks.As 8.485613369903708 ns (± 0.24882298382418772) 10.480266136543346 ns (± 0.25272476211322303) 0.81
UnitsNet.Benchmark.UnitsNetBenchmarks.As_SI 312.9609619793179 ns (± 9.916047350601964) 387.21469228829034 ns (± 9.273870714374377) 0.81
UnitsNet.Benchmark.UnitsNetBenchmarks.ToUnit 16.269123244304186 ns (± 0.30944670159568866) 20.248107004484357 ns (± 0.276327368385079) 0.80
UnitsNet.Benchmark.UnitsNetBenchmarks.ToUnit_SI 322.35963793982665 ns (± 10.735510678290277) 405.26114760296855 ns (± 4.366182992007887) 0.80
UnitsNet.Benchmark.UnitsNetBenchmarks.ToStringTest 1329.5437526059616 ns (± 71.796092288763) 1598.7187999270861 ns (± 24.640159315621833) 0.83
UnitsNet.Benchmark.UnitsNetBenchmarks.Parse 44430.95132055648 ns (± 2449.0662084662995) 54702.332729669455 ns (± 1140.5088638687655) 0.81
UnitsNet.Benchmark.UnitsNetBenchmarks.TryParseValid 48779.33097568067 ns (± 1229.2101116661433) 56151.016451078685 ns (± 1604.6518852940255) 0.87
UnitsNet.Benchmark.UnitsNetBenchmarks.TryParseInvalid 52483.757421543676 ns (± 1249.0699823159543) 57059.765461398856 ns (± 682.7638943865926) 0.92
UnitsNet.Benchmark.UnitsNetBenchmarks.QuantityFrom 3175.7894736842104 ns (± 196.6289244505272) 3580 ns (± 268.06182655712627) 0.89
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_As 23.113480842119063 ns (± 0.6432935292437244) 26.42402789795223 ns (± 0.519088178139987) 0.87
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_As_SI 348.7067604624619 ns (± 8.802801673228258) 398.48080044691795 ns (± 6.560534920159444) 0.88
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_ToUnit 30.787585082471786 ns (± 1.260568581966445) 39.590851706709984 ns (± 0.5759926595494396) 0.78
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_ToStringTest 1419.6170137605993 ns (± 32.245009355336094) 1656.5517128345173 ns (± 32.972532329664475) 0.86

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UnitsNet Benchmarks (netcoreapp21)

Benchmark suite Current: 08752bc Previous: 9bc3f8d Ratio
UnitsNet.Benchmark.UnitsNetBenchmarks.Constructor 10.927205334260533 ns (± 0.02213141067543832) 13.838618592095548 ns (± 0.19097958946428167) 0.79
UnitsNet.Benchmark.UnitsNetBenchmarks.Constructor_SI 531.736716584875 ns (± 3.9443309423513817) 669.664222443107 ns (± 14.64694810613694) 0.79
UnitsNet.Benchmark.UnitsNetBenchmarks.FromMethod 25.824730401626116 ns (± 0.045224690312892654) 31.956165212844997 ns (± 0.39681062660454636) 0.81
UnitsNet.Benchmark.UnitsNetBenchmarks.ToProperty 8.735902803008404 ns (± 0.02424024447807335) 11.02387528108373 ns (± 0.1987535356723113) 0.79
UnitsNet.Benchmark.UnitsNetBenchmarks.As 8.738126841321082 ns (± 0.020659162060540144) 11.264569846830799 ns (± 0.49445829897128973) 0.78
UnitsNet.Benchmark.UnitsNetBenchmarks.As_SI 509.04708321035434 ns (± 1.794603699488407) 647.8179859424051 ns (± 21.217186146011407) 0.79
UnitsNet.Benchmark.UnitsNetBenchmarks.ToUnit 17.642163630074233 ns (± 0.031363196739595166) 22.462788136793232 ns (± 0.2776329585489361) 0.79
UnitsNet.Benchmark.UnitsNetBenchmarks.ToUnit_SI 520.9120235831207 ns (± 2.0435812750109523) 675.5951855193971 ns (± 18.838375851036048) 0.77
UnitsNet.Benchmark.UnitsNetBenchmarks.ToStringTest 2171.6073619987033 ns (± 11.920561135020337) 2541.258965147083 ns (± 72.99515843735554) 0.85
UnitsNet.Benchmark.UnitsNetBenchmarks.Parse 59176.37382587418 ns (± 118.27082214418797) 78037.59756699264 ns (± 1715.020769615875) 0.76
UnitsNet.Benchmark.UnitsNetBenchmarks.TryParseValid 59050.48565009544 ns (± 112.41489026395146) 78040.09532666822 ns (± 1575.2527486718327) 0.76
UnitsNet.Benchmark.UnitsNetBenchmarks.TryParseInvalid 64784.809572825536 ns (± 165.72938832797965) 83338.08583690987 ns (± 1693.189118563269) 0.78
UnitsNet.Benchmark.UnitsNetBenchmarks.QuantityFrom 1720.6349206349207 ns (± 78.61447408126726) 1813.978494623656 ns (± 226.78825493391423) 0.95
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_As 19.144811432788995 ns (± 0.0769589211799713) 25.049772367634265 ns (± 0.4635134528416716) 0.76
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_As_SI 501.1882286989545 ns (± 2.1018525476401657) 642.9975859718669 ns (± 13.36670091235779) 0.78
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_ToUnit 26.322689575529918 ns (± 0.10009671823399638) 35.651202653668825 ns (± 0.5324525949333653) 0.74
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_ToStringTest 1953.5538057742783 ns (± 11.272715791157594) 2561.296467996193 ns (± 80.28205272242158) 0.76

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UnitsNet Benchmarks (net472)

Benchmark suite Current: 08752bc Previous: 9bc3f8d Ratio
UnitsNet.Benchmark.UnitsNetBenchmarks.Constructor 12.641381466545301 ns (± 0.02563914082091724) 14.723681757729398 ns (± 0.3313098194653935) 0.86
UnitsNet.Benchmark.UnitsNetBenchmarks.Constructor_SI 491.436940886648 ns (± 3.156855982114209) 549.2474433730542 ns (± 6.2702986817941975) 0.89
UnitsNet.Benchmark.UnitsNetBenchmarks.FromMethod 29.48010223559612 ns (± 0.07091583672330061) 33.54716283782833 ns (± 0.3751299338024245) 0.88
UnitsNet.Benchmark.UnitsNetBenchmarks.ToProperty 8.67696017196383 ns (± 0.03920427377564806) 10.092365493368298 ns (± 0.18538540367469197) 0.86
UnitsNet.Benchmark.UnitsNetBenchmarks.As 8.675413836217079 ns (± 0.036592375811305485) 9.899911670396591 ns (± 0.1584275198119223) 0.88
UnitsNet.Benchmark.UnitsNetBenchmarks.As_SI 478.96095262366646 ns (± 4.965909837850831) 559.384455319985 ns (± 8.910700441988267) 0.86
UnitsNet.Benchmark.UnitsNetBenchmarks.ToUnit 19.368347045577064 ns (± 0.03349514255005014) 22.20820366028907 ns (± 0.24981103148779088) 0.87
UnitsNet.Benchmark.UnitsNetBenchmarks.ToUnit_SI 570.2267051745325 ns (± 1.242922578492853) 563.0002622301666 ns (± 10.419818231808495) 1.01
UnitsNet.Benchmark.UnitsNetBenchmarks.ToStringTest 1751.551177385023 ns (± 9.420439040590281) 2100.5254837357843 ns (± 38.71452430350208) 0.83
UnitsNet.Benchmark.UnitsNetBenchmarks.Parse 52855.11219147345 ns (± 176.01739914389032) 57730.12540460231 ns (± 606.6140906185233) 0.92
UnitsNet.Benchmark.UnitsNetBenchmarks.TryParseValid 54215.42745776665 ns (± 129.4187083541623) 61640.217772069125 ns (± 2054.757456552628) 0.88
UnitsNet.Benchmark.UnitsNetBenchmarks.TryParseInvalid 58602.442074004604 ns (± 253.87699212494823) 64102.55751313641 ns (± 792.0854976874995) 0.91
UnitsNet.Benchmark.UnitsNetBenchmarks.QuantityFrom 1625.9259259259259 ns (± 67.80990406090491) 2115.1898734177216 ns (± 109.88176348885048) 0.77
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_As 18.12388752621331 ns (± 0.09905540220404788) 21.99838652645628 ns (± 0.39870020644743065) 0.82
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_As_SI 474.8843879723665 ns (± 3.362319993078054) 562.0413834848629 ns (± 8.291115026575998) 0.84
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_ToUnit 26.817236873576128 ns (± 0.0848530690350929) 33.306465401885276 ns (± 0.7009160606306594) 0.81
UnitsNet.Benchmark.UnitsNetBenchmarks.IQuantity_ToStringTest 1982.039267690721 ns (± 10.431917653285504) 2140.6347010847303 ns (± 38.98109732883614) 0.93

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.