@@ -8,8 +8,6 @@ import { benchmarkingMediumSizeSchema } from './benchmark-dbschemas';
8
8
import {
9
9
autocompletionQueries ,
10
10
createMovieDb ,
11
- largePokemonquery ,
12
- simpleQuery ,
13
11
tictactoe ,
14
12
} from './benchmark-queries' ;
15
13
@@ -18,21 +16,6 @@ Benchmark.options.minSamples = 20;
18
16
const suite = new Benchmark . Suite ( ) ;
19
17
20
18
suite
21
- . add ( 'simple - parse' , function ( ) {
22
- parse ( simpleQuery ) ;
23
- } )
24
- . add ( 'simple - highlight' , function ( ) {
25
- parserWrapper . clearCache ( ) ;
26
- applySyntaxColouring ( simpleQuery ) ;
27
- } )
28
- . add ( 'simple - validate syntax' , function ( ) {
29
- parserWrapper . clearCache ( ) ;
30
- validateSyntax ( simpleQuery , benchmarkingMediumSizeSchema ) ;
31
- } )
32
- . add ( 'simple - autocomplete next statement' , function ( ) {
33
- parserWrapper . clearCache ( ) ;
34
- autocomplete ( simpleQuery , benchmarkingMediumSizeSchema ) ;
35
- } )
36
19
. add ( 'movies - parse' , function ( ) {
37
20
parse ( createMovieDb ) ;
38
21
} )
@@ -56,29 +39,13 @@ suite
56
39
parserWrapper . clearCache ( ) ;
57
40
applySyntaxColouring ( tictactoe ) ;
58
41
} )
59
- . add ( 'tictactoe - validate syntax' , function ( ) {
60
- parserWrapper . clearCache ( ) ;
61
- validateSyntax ( tictactoe , benchmarkingMediumSizeSchema ) ;
62
- } )
63
42
. add ( 'tictactoe - autocomplete next statement - no Schema' , function ( ) {
64
43
parserWrapper . clearCache ( ) ;
65
44
autocomplete ( tictactoe , { } ) ;
66
45
} )
67
46
. add ( 'tictactoe - autocomplete next statement - medium Schema' , function ( ) {
68
47
parserWrapper . clearCache ( ) ;
69
48
autocomplete ( tictactoe , benchmarkingMediumSizeSchema ) ;
70
- } )
71
- . add ( 'pokemon - parse' , function ( ) {
72
- parserWrapper . clearCache ( ) ;
73
- parse ( largePokemonquery ) ;
74
- } )
75
- . add ( 'pokemon - parserwrapper parse' , function ( ) {
76
- parserWrapper . clearCache ( ) ;
77
- parserWrapper . parse ( largePokemonquery ) ;
78
- } )
79
- . add ( 'pokemon - syntax highlight' , function ( ) {
80
- parserWrapper . clearCache ( ) ;
81
- applySyntaxColouring ( largePokemonquery ) ;
82
49
} ) ;
83
50
84
51
Object . entries ( autocompletionQueries ) . forEach ( ( [ name , query ] ) => {
0 commit comments