File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ experiments =
125125 not . null <$> getCompletions doc (fromJust identifierP),
126126 ---------------------------------------------------------------------------------------
127127 benchWithSetup
128- " code actions "
128+ " code lens "
129129 ( \ docs -> do
130130 unless (any (isJust . identifierP) docs) $
131131 error " None of the example modules is suitable for this experiment"
@@ -134,13 +134,12 @@ experiments =
134134 waitForProgressStart
135135 waitForProgressDone
136136 )
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)
140139 ),
141140 ---------------------------------------------------------------------------------------
142141 benchWithSetup
143- " code actions after edit"
142+ " code lens after edit"
144143 ( \ docs -> do
145144 unless (any (isJust . identifierP) docs) $
146145 error " None of the example modules is suitable for this experiment"
@@ -152,9 +151,8 @@ experiments =
152151 changeDoc doc [charEdit stringLiteralP]
153152 waitForProgressStart
154153 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)
158156 ),
159157 ---------------------------------------------------------------------------------------
160158 benchWithSetup
You can’t perform that action at this time.
0 commit comments