<commit_before>﻿using BenchmarkDotNet.Running;

namespace FastExpressionCompiler.Benchmarks
{
    public class Program
    {
        public static void Main()
        {
            //BenchmarkRunner.Run<HoistedLambdaBenchmark.Compile>();
            //BenchmarkRunner.Run<HoistedLambdaBenchmark.Invoke>();

            //BenchmarkRunner.Run<HoistedLambdaWithNestedLambdaBenchmark.Compile>();
            BenchmarkRunner.Run<HoistedLambdaWithNestedLambdaBenchmark.Invoke>();

            //BenchmarkRunner.Run<ManuallyComposedLambdaBenchmark.Compile>();
            //BenchmarkRunner.Run<ManuallyComposedLambdaBenchmark.Invoke>();
        }
    }
}<commit_msg>added: Initial DryExpression as faster replacement for expressions. Plus benchmark: 10 times faster than Expr.New with one argument.<commit_after>﻿using BenchmarkDotNet.Running;

namespace FastExpressionCompiler.Benchmarks
{
    public class Program
    {
        public static void Main()
        {
            BenchmarkRunner.Run<ExpressionVsDryExpression>();

            //BenchmarkRunner.Run<HoistedLambdaBenchmark.Compile>();
            //BenchmarkRunner.Run<HoistedLambdaBenchmark.Invoke>();

            //BenchmarkRunner.Run<HoistedLambdaWithNestedLambdaBenchmark.Compile>();
            //BenchmarkRunner.Run<HoistedLambdaWithNestedLambdaBenchmark.Invoke>();

            //BenchmarkRunner.Run<ManuallyComposedLambdaBenchmark.Compile>();
            //BenchmarkRunner.Run<ManuallyComposedLambdaBenchmark.Invoke>();
        }
    }
}
{'fraction_non_alphanumeric': 0.09786950732356857, 'fraction_numerical': 0.0013315579227696406, 'mean_word_length': 3.2698863636363638, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4885877', 'n_tokens_mistral': 426, 'n_tokens_neox': 399, 'n_words': 52}