<commit_before>'use strict';

var Benchmark = require('benchmark');

var jcampBench = require('./jcamp');

var suite = new Benchmark.Suite();

suite
    .add('NMR 1H', jcampBench('indometacin/1h.dx'))
    .add('NMR 1H XY', jcampBench('indometacin/1h.dx', {xy:true}))
    .add('NMR 2D HMBC', jcampBench('indometacin/hmbc.dx',{fastParse:false}))
    .add('NMR 2D HMBC XY', jcampBench('indometacin/hmbc.dx', {xy:true}))
    .on('cycle', function (event) {
        console.log(String(event.target));
    })
    .run();
<commit_msg>fix benchmark<commit_after>'use strict';

var Benchmark = require('benchmark');

var jcampBench = require('./jcamp');

var suite = new Benchmark.Suite();

suite
    .add('NMR 1H', jcampBench('indometacin/1h.dx'))
    .add('NMR 1H XY', jcampBench('indometacin/1h.dx', {xy:true}))
    .add('NMR 2D HMBC', jcampBench('indometacin/hmbc.dx'))
    .add('NMR 2D HMBC XY', jcampBench('indometacin/hmbc.dx', {xy:true}))
    .on('cycle', function (event) {
        console.log(String(event.target));
    })
    .run();

{'fraction_non_alphanumeric': 0.20077220077220076, 'fraction_numerical': 0.011583011583011582, 'mean_word_length': 4.133663366336633, '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': '5410860', 'n_tokens_mistral': 429, 'n_tokens_neox': 391, 'n_words': 73}