Comments (1)
Fixed and nice results comparison before and after (look Ratio and Alloc Ratio):
Before
Method | Mean | Error | StdDev | Median | Ratio | RatioSD | Gen0 | Gen1 | Allocated | Alloc Ratio |
---|---|---|---|---|---|---|---|---|---|---|
LightExpression_with_sub_expressions_CompiledFast | 22.57 us | 0.442 us | 0.862 us | 22.26 us | 1.00 | 0.00 | 1.7090 | 1.6785 | 10.52 KB | 1.00 |
Expression_with_sub_expressions_Compiled | 517.53 us | 10.254 us | 27.546 us | 503.49 us | 22.95 | 1.36 | 3.9063 | 2.9297 | 28.91 KB | 2.75 |
After
Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Gen1 | Gen2 | Allocated | Alloc Ratio |
---|---|---|---|---|---|---|---|---|---|---|
LightExpression_with_sub_expressions_CompiledFast | 21.32 us | 0.387 us | 0.717 us | 1.00 | 0.00 | 1.4648 | 1.4038 | 0.0305 | 9 KB | 1.00 |
Expression_with_sub_expressions_Compiled | 571.67 us | 11.221 us | 12.922 us | 26.75 | 1.11 | 3.9063 | 2.9297 | - | 28.47 KB | 3.16 |
from fastexpressioncompiler.
Related Issues (20)
- Optimize any nested lambda compilation (LINQ) by compiling right after collect one-by-one HOT 1
- Support LightExpression.Expression.TryConvertDelegateIntrinsic for converting one type of delegate to another
- Support custom C# printing for the LightExpression.Expression
- CompileFast doesn't work with HasFlag HOT 7
- Use UnsafeAccessAttribute to speedup the net8.0 HOT 1
- Add direct net8.0 target as soon as Appveyor CI will support it HOT 1
- Comparisons with nullable types HOT 2
- NullReferenceException with V4.X when trying to map HOT 12
- Support reading IL for Test Assertions on the NET_FRAMEWORK and on NET_7_0_OR_LESS HOT 1
- Value can not be null(parametr 'meth') HOT 17
- Allow to pass the representation of constant values to the ToCSharpString that are not literals
- System.AccessViolationException when mapping using Mapster HOT 1
- ToCSharpString outputs ? for Nullable which does not produce the compile-able code HOT 1
- ToExpressionString wrongly declares Label instead of LabelTarget array HOT 1
- Support ToCSharpString of the block in the ternary expression
- Calling a user defined == operator runs into a CLR invalid program exception HOT 2
- Optimize conditional expressions with the DefaultExpression left or right operand the same way as ConstantExpression HOT 1
- Fix and optimize the Switch support HOT 1
- Optimize Switch with OpCodes.Switch
- Coalesce nullable with 0 is not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastexpressioncompiler.