A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/MapsterMapper/Mapster/wiki/FastExpressionCompiler below:

FastExpressionCompiler · MapsterMapper/Mapster Wiki · GitHub

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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4