Skip to content

FastExpressionCompiler

chaowlert edited this page Feb 2, 2020 · 4 revisions

Need more speed? Let's compile with FastExpressionCompiler.

Getting the package

 PM> Install-Package FastExpressionCompiler

Then add following code on start up

TypeAdapterConfig.GlobalSettings.Compiler = exp => exp.CompileFast();

That's it. Now your code will enjoy performance boost. Here is result.

Method Mean StdDev Error Gen 0 Gen 1 Gen 2 Allocated
'Mapster 4.1.1' 115.31 ms 0.849 ms 1.426 ms 31000.0000 - - 124.36 MB
'Mapster 4.1.1 (FEC)' 54.70 ms 1.023 ms 1.546 ms 29600.0000 - - 118.26 MB
Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy