{"size": 762, "ext": "js", "max_stars_repo_path": "benchmark/72-pre-get-bracket-prop-sequence.js", "max_stars_repo_name": "eckhartcke/path-toolkit", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "benchmark/72-pre-get-bracket-prop-sequence.js", "max_issues_repo_name": "eckhartcke/path-toolkit", "max_issues_repo_issues_event_min_datetime": "2020-12-22T05:32:07.000Z", "max_issues_repo_issues_event_max_datetime": "2021-01-21T09:55:55.000Z", "max_forks_repo_path": "benchmark/72-pre-get-bracket-prop-sequence.js", "max_forks_repo_name": "eckhartcke/path-toolkit", "max_forks_repo_forks_event_min_datetime": "2020-12-21T09:24:27.000Z", "max_forks_repo_forks_event_max_datetime": "2020-12-21T20:29:51.000Z"}
{"max_stars_count": null, "max_issues_count": 2, "max_forks_count": 2, "avg_line_length": 22.4117647059, "max_line_length": 58, "alphanum_fraction": 0.4855643045}
'use strict';

var PathToolkit = require( '../dist/path-toolkit-min' ),
    tk = new PathToolkit(),
    
    tkpath = '["foo"]"bar","qux"<["baz"]',
    tkpathSimplified = 'foo.bar,qux<baz',
    data = {
        foo: {
            bar: {
                baz: 123
            },
            qux: {
                baz: 456
            }
        }
    },

    tkTokens = tk.getTokens( tkpath ),
    tkTokensSimplified = tk.getTokens( tkpathSimplified );

module.exports = {
    name: 'Precompiled:Get:Bracket:Property:Sequence',
    maxTime: 5,
    tests: {
        'tk#get-tokenized': function(){
            tk.get( data, tkTokens );
        },
        'tk#get-tokenized-simplified': function(){
            tk.get( data, tkTokensSimplified );
        }
    }
};
