<commit_before>﻿using System.Diagnostics;
using Sitecore.CookieConsent.Services;
using Sitecore.Pipelines.RenderLayout;

namespace Sitecore.CookieConsent.Pipelines.RenderLayout
{
    public class InsertCookieConsent : RenderLayoutProcessor
    {
        protected virtual ICookieConsentService Service { get; set; } = new CookieConsentService();

        public override void Process(RenderLayoutArgs args)
        {
            Stopwatch sw = new Stopwatch();
            sw.Start();
            RenderControl();
            sw.Stop();
        }

        protected virtual void RenderControl()
        {
            Service.RenderControl();
        }
    }
}<commit_msg>* Removed stopwatch from the processor; can use /sitecore/admin/pipelines.aspx admin page instead<commit_after>﻿using Sitecore.CookieConsent.Services;
using Sitecore.Pipelines.RenderLayout;

namespace Sitecore.CookieConsent.Pipelines.RenderLayout
{
    public class InsertCookieConsent : RenderLayoutProcessor
    {
        protected virtual ICookieConsentService Service { get; set; } = new CookieConsentService();

        public override void Process(RenderLayoutArgs args)
        {
            RenderControl();
        }

        protected virtual void RenderControl()
        {
            Service.RenderControl();
        }
    }
}
{'fraction_non_alphanumeric': 0.07792207792207792, 'fraction_numerical': 0.0, 'mean_word_length': 2.742857142857143, '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': '5936579', 'n_tokens_mistral': 332, 'n_tokens_neox': 327, 'n_words': 77}