<commit_before>﻿using SAHB.GraphQLClient.FieldBuilder;
using SAHB.GraphQLClient.QueryBuilder;

namespace SAHB.GraphQLClient.Benchmarks.Tests
{
    public class QueryBuilderBenchmarks : GeneralFieldBenchmark
    {
        readonly IGraphQLQueryBuilder _queryBuilder = new GraphQLQueryBuilder(new GraphQLFieldBuilder());

        public class SimpleQuery
        {
            public string A { get; set; }
            public string B { get; set; }
        }

        public override void RunBenchmark<T>()
        {
            _queryBuilder.GetQuery(typeof(T));
        }
    }
}
<commit_msg>Fixed benchmark<commit_after>﻿using SAHB.GraphQLClient.FieldBuilder;
using SAHB.GraphQLClient.QueryBuilder;

namespace SAHB.GraphQLClient.Benchmarks.Tests
{
    public class QueryBuilderBenchmarks : GeneralFieldBenchmark
    {
        readonly IGraphQLQueryBuilder _queryBuilder = new GraphQLQueryBuilder(new GraphQLFieldBuilder());

        public override void RunBenchmark<T>()
        {
            _queryBuilder.GetQuery(typeof(T));
        }
    }
}

{'fraction_non_alphanumeric': 0.07824427480916031, 'fraction_numerical': 0.0, 'mean_word_length': 3.0346153846153845, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1569884', 'n_tokens_mistral': 302, 'n_tokens_neox': 291, 'n_words': 56}