<commit_before>﻿namespace AngleSharp.Performance.Css
{
    using AngleSharp;
    using AngleSharp.Parser.Css;
    using System;

    class AngleSharpParser : ITestee
    {
        static readonly IConfiguration configuration = new Configuration().WithCss();
        static readonly CssParserOptions options = new CssParserOptions
        {
            IsIncludingUnknownDeclarations = true,
            IsIncludingUnknownRules = true,
            IsToleratingInvalidConstraints = true,
            IsToleratingInvalidValues = true
        };
        static readonly CssParser parser = new CssParser(options, configuration);

        public String Name
        {
            get { return "AngleSharp"; }
        }

        public Type Library
        {
            get { return typeof(CssParser); }
        }

        public void Run(String source)
        {
            parser.ParseStylesheet(source);
        }
    }
}<commit_msg>Transition time<commit_after>﻿namespace AngleSharp.Performance.Css
{
    using AngleSharp;
    using AngleSharp.Parser.Css;
    using System;

    class AngleSharpParser : ITestee
    {
        static readonly IConfiguration configuration = new Configuration().WithCss();
        static readonly CssParserOptions options = new CssParserOptions
        {
            IsIncludingUnknownDeclarations = true,
            IsIncludingUnknownRules = true,
            IsToleratingInvalidConstraints = true,
            IsToleratingInvalidValues = true
        };
        static readonly CssParser parser = new CssParser(options, configuration);

        public String Name
        {
            get { return "AngleSharp"; }
        }

        public Type Library
        {
            get { return typeof(BrowsingContext); }
        }

        public void Run(String source)
        {
            parser.ParseStylesheet(source);
        }
    }

    //TODO:
    // Remove both after AngleSharp.Css is available
    static class ConfigurationMockExtensions
    {
        public static IConfiguration WithCss(this IConfiguration configuration)
        {
            return configuration;
        }
    }

    sealed class CssParser
    {
        public CssParser(CssParserOptions options, IConfiguration configuration)
        {
        }

        public void ParseStylesheet(String source)
        {
        }
    }
}
{'fraction_non_alphanumeric': 0.062393162393162394, 'fraction_numerical': 0.0, 'mean_word_length': 1.9897828863346105, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4223890', 'n_tokens_mistral': 601, 'n_tokens_neox': 575, 'n_words': 141}