jamescourtney / FlatSharp

Fast, idiomatic C# implementation of Flatbuffers
Apache License 2.0
497 stars 50 forks source link

Reduce JIT'ed Code Size and Optimize #421

Closed jamescourtney closed 7 months ago

codecov[bot] commented 7 months ago

Codecov Report

Attention: 15 lines in your changes are missing coverage. Please review.

Comparison is base (a1fad43) 97.01% compared to head (a854605) 97.02%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/jamescourtney/FlatSharp/pull/421/graphs/tree.svg?width=650&height=150&src=pr&token=6EUECHZGT4&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Courtney)](https://app.codecov.io/gh/jamescourtney/FlatSharp/pull/421?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Courtney) ```diff @@ Coverage Diff @@ ## main #421 +/- ## ========================================== + Coverage 97.01% 97.02% +0.01% ========================================== Files 126 126 Lines 9735 9701 -34 Branches 787 785 -2 ========================================== - Hits 9444 9412 -32 + Misses 200 198 -2 Partials 91 91 ``` | [Files](https://app.codecov.io/gh/jamescourtney/FlatSharp/pull/421?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Courtney) | Coverage Δ | | |---|---|---| | [src/FlatSharp.Compiler/SchemaModel/RootModel.cs](https://app.codecov.io/gh/jamescourtney/FlatSharp/pull/421?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Courtney#diff-c3JjL0ZsYXRTaGFycC5Db21waWxlci9TY2hlbWFNb2RlbC9Sb290TW9kZWwuY3M=) | `99.11% <100.00%> (ø)` | | | [...FlatSharp.Compiler/SchemaModel/TableSchemaModel.cs](https://app.codecov.io/gh/jamescourtney/FlatSharp/pull/421?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Courtney#diff-c3JjL0ZsYXRTaGFycC5Db21waWxlci9TY2hlbWFNb2RlbC9UYWJsZVNjaGVtYU1vZGVsLmNz) | `100.00% <100.00%> (ø)` | | | [...harp.Compiler/SchemaModel/ValueUnionSchemaModel.cs](https://app.codecov.io/gh/jamescourtney/FlatSharp/pull/421?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Courtney#diff-c3JjL0ZsYXRTaGFycC5Db21waWxlci9TY2hlbWFNb2RlbC9WYWx1ZVVuaW9uU2NoZW1hTW9kZWwuY3M=) | `97.02% <100.00%> (+0.06%)` | :arrow_up: | | [src/FlatSharp.Runtime/IO/InputBufferExtensions.cs](https://app.codecov.io/gh/jamescourtney/FlatSharp/pull/421?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Courtney#diff-c3JjL0ZsYXRTaGFycC5SdW50aW1lL0lPL0lucHV0QnVmZmVyRXh0ZW5zaW9ucy5jcw==) | `95.45% <100.00%> (-0.63%)` | :arrow_down: | | [src/FlatSharp.Runtime/SerializationHelpers.cs](https://app.codecov.io/gh/jamescourtney/FlatSharp/pull/421?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Courtney#diff-c3JjL0ZsYXRTaGFycC5SdW50aW1lL1NlcmlhbGl6YXRpb25IZWxwZXJzLmNz) | `93.10% <100.00%> (ø)` | | | [src/FlatSharp.Runtime/SortedVectorHelpers.cs](https://app.codecov.io/gh/jamescourtney/FlatSharp/pull/421?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Courtney#diff-c3JjL0ZsYXRTaGFycC5SdW50aW1lL1NvcnRlZFZlY3RvckhlbHBlcnMuY3M=) | `98.80% <100.00%> (ø)` | | | [src/FlatSharp.Runtime/VTables/VTableGeneric.cs](https://app.codecov.io/gh/jamescourtney/FlatSharp/pull/421?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Courtney#diff-c3JjL0ZsYXRTaGFycC5SdW50aW1lL1ZUYWJsZXMvVlRhYmxlR2VuZXJpYy5jcw==) | `100.00% <100.00%> (ø)` | | | [...atSharp.Runtime/Vectors/FlatBufferIndexedVector.cs](https://app.codecov.io/gh/jamescourtney/FlatSharp/pull/421?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Courtney#diff-c3JjL0ZsYXRTaGFycC5SdW50aW1lL1ZlY3RvcnMvRmxhdEJ1ZmZlckluZGV4ZWRWZWN0b3IuY3M=) | `84.48% <100.00%> (ø)` | | | [...time/Vectors/FlatBufferProgressiveIndexedVector.cs](https://app.codecov.io/gh/jamescourtney/FlatSharp/pull/421?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Courtney#diff-c3JjL0ZsYXRTaGFycC5SdW50aW1lL1ZlY3RvcnMvRmxhdEJ1ZmZlclByb2dyZXNzaXZlSW5kZXhlZFZlY3Rvci5jcw==) | `86.76% <100.00%> (ø)` | | | [src/FlatSharp.Runtime/Vectors/VectorExceptions.cs](https://app.codecov.io/gh/jamescourtney/FlatSharp/pull/421?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Courtney#diff-c3JjL0ZsYXRTaGFycC5SdW50aW1lL1ZlY3RvcnMvVmVjdG9yRXhjZXB0aW9ucy5jcw==) | `83.33% <ø> (+8.33%)` | :arrow_up: | | ... and [37 more](https://app.codecov.io/gh/jamescourtney/FlatSharp/pull/421?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Courtney) | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/jamescourtney/FlatSharp/pull/421?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Courtney). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Courtney) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/jamescourtney/FlatSharp/pull/421?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Courtney). Last update [a1fad43...a854605](https://app.codecov.io/gh/jamescourtney/FlatSharp/pull/421?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Courtney). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=James+Courtney).