File tree 1 file changed +6
-8
lines changed
1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ experiments =
125
125
not . null <$> getCompletions doc (fromJust identifierP),
126
126
---------------------------------------------------------------------------------------
127
127
benchWithSetup
128
- " code actions "
128
+ " code lens "
129
129
( \ docs -> do
130
130
unless (any (isJust . identifierP) docs) $
131
131
error " None of the example modules is suitable for this experiment"
@@ -134,13 +134,12 @@ experiments =
134
134
waitForProgressStart
135
135
waitForProgressDone
136
136
)
137
- ( \ docs -> not . null . catMaybes <$> forM docs (\ DocumentPositions {.. } ->
138
- forM identifierP $ \ p ->
139
- getCodeActions doc (Range p p))
137
+ ( \ docs -> not . null <$> forM docs (\ DocumentPositions {.. } ->
138
+ getCodeLenses doc)
140
139
),
141
140
---------------------------------------------------------------------------------------
142
141
benchWithSetup
143
- " code actions after edit"
142
+ " code lens after edit"
144
143
( \ docs -> do
145
144
unless (any (isJust . identifierP) docs) $
146
145
error " None of the example modules is suitable for this experiment"
@@ -152,9 +151,8 @@ experiments =
152
151
changeDoc doc [charEdit stringLiteralP]
153
152
waitForProgressStart
154
153
waitForProgressDone
155
- not . null . catMaybes <$> forM docs (\ DocumentPositions {.. } -> do
156
- forM identifierP $ \ p ->
157
- getCodeActions doc (Range p p))
154
+ not . null <$> forM docs (\ DocumentPositions {.. } -> do
155
+ getCodeLenses doc)
158
156
),
159
157
---------------------------------------------------------------------------------------
160
158
benchWithSetup
You can’t perform that action at this time.
0 commit comments