<commit_before>/**
 * Get current time in milliseconds. Use it to measure time difference. Reference time may differ
 * on different platforms.
 *
 * @returns {number} The time in milliseconds.
 * @ignore
 */
const now = (typeof window !== 'undefined') && window.performance && window.performance.now && window.performance.timing ? function () {
    return window.performance.now();
} : Date.now;

/**
 * A Timer counts milliseconds from when start() is called until when stop() is called.
 *
 * @ignore
 */
class Timer {
    /**
     * Create a new Timer instance.
     */
    constructor() {
        this._isRunning = false;
        this._a = 0;
        this._b = 0;
    }

    /**
     * Start the timer.
     */
    start() {
        this._isRunning = true;
        this._a = now();
    }

    /**
     * Stop the timer.
     */
    stop() {<commit_msg>Resolve pc.now to native function (#4162)<commit_after>/**
 * Get current time in milliseconds. Use it to measure time difference. Reference time may differ
 * on different platforms.
 *
 * @returns {number} The time in milliseconds.
 * @ignore
 */
const now = (typeof window !== 'undefined') && window.performance && window.performance.now && window.performance.timing ?
    performance.now.bind(performance) :
    Date.now;

/**
 * A Timer counts milliseconds from when start() is called until when stop() is called.
 *
 * @ignore
 */
class Timer {
    /**
     * Create a new Timer instance.
     */
    constructor() {
        this._isRunning = false;
        this._a = 0;
        this._b = 0;
    }

    /**
     * Start the timer.
     */
    start() {
        this._isRunning = true;
        this._a = now();
    }

    /**
     * Stop the timer.
     */
    stop() {
{'fraction_non_alphanumeric': 0.1346042749855575, 'fraction_numerical': 0.00462160600808781, 'mean_word_length': 2.1838235294117645, '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': '6370004', 'n_tokens_mistral': 520, 'n_tokens_neox': 488, 'n_words': 161}