-
-
Notifications
You must be signed in to change notification settings - Fork 389
Improve performance of NormalizedFilePath #3067
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 11 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
0fd58f5
upgrade lsp
5363f87
modify default benchmark config
d435a41
upgrade lsp
19d87ff
use lsp master
fc3d8f7
temp: compare benchmark with previous commit
1868368
Merge remote-tracking branch 'origin/master' into kokobd/os-path
3fa1858
use text in NormalizedFilePath
b33c782
upgrade to lsp master
5db0317
fix stack config
85e2172
remove obsolete dir form ghcide.cabal
e220d39
Merge branch 'master' into kokobd/os-path
1c2a11d
run pre-commit without args
d006ef0
Merge branch 'kokobd/os-path' of github.com:haskell/haskell-language-…
2bb1c19
Revert "run pre-commit without args"
912673f
Merge branch 'master' into kokobd/os-path
5256023
remove unnecessary tests
fb75394
Merge branch 'kokobd/os-path' of github.com:haskell/haskell-language-…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,7 +76,7 @@ versions: | |
|
||
|
||
# - 1.8.0.0 | ||
# - upstream: origin/master | ||
- upstream: origin/master | ||
# - HEAD~1 | ||
- HEAD | ||
|
||
|
@@ -95,26 +95,28 @@ configurations: | |
# The implicitly included plugins are: | ||
# - ghcide-core | ||
# - ghcide-hover-and-symbols | ||
- None: [] | ||
- Core: | ||
- callHierarchy | ||
- codeRange | ||
- eval | ||
- ghcide-code-actions-bindings | ||
- ghcide-code-actions-fill-holes | ||
- ghcide-code-actions-imports-exports | ||
- ghcide-code-actions-type-signatures | ||
- ghcide-completions | ||
- ghcide-type-lenses | ||
- pragmas | ||
- Ghcide: | ||
- ghcide-completions | ||
- ghcide-type-lenses | ||
- Refactor: | ||
- ghcide-code-actions-bindings | ||
- ghcide-code-actions-fill-holes | ||
- ghcide-code-actions-imports-exports | ||
- ghcide-code-actions-type-signatures | ||
|
||
# Uncomment below sections if needed | ||
# - None: [] | ||
# - Core: | ||
# - callHierarchy | ||
# - codeRange | ||
# - eval | ||
# - ghcide-code-actions-bindings | ||
# - ghcide-code-actions-fill-holes | ||
# - ghcide-code-actions-imports-exports | ||
# - ghcide-code-actions-type-signatures | ||
# - ghcide-completions | ||
# - ghcide-type-lenses | ||
# - pragmas | ||
# - Ghcide: | ||
# - ghcide-completions | ||
# - ghcide-type-lenses | ||
# - Refactor: | ||
# - ghcide-code-actions-bindings | ||
# - ghcide-code-actions-fill-holes | ||
# - ghcide-code-actions-imports-exports | ||
# - ghcide-code-actions-type-signatures | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seems reasonable |
||
- All: | ||
- alternateNumberFormat | ||
- callHierarchy | ||
|
@@ -141,36 +143,36 @@ configurations: | |
- refineImports | ||
- rename | ||
- stylish-haskell | ||
- alternateNumberFormat | ||
# - brittany | ||
- callHierarchy | ||
- changeTypeSignature | ||
- class | ||
- codeRange | ||
- eval | ||
- explicitFixity | ||
# - floskell | ||
# - fourmolu | ||
- gadt | ||
- ghcide-code-actions-bindings | ||
- ghcide-code-actions-fill-holes | ||
- ghcide-code-actions-imports-exports | ||
- ghcide-code-actions-type-signatures | ||
- ghcide-completions | ||
# - ghcide-core # implicitly included in all configurations | ||
# - ghcide-hover-and-symbols # implicitly included in all configurations | ||
- ghcide-type-lenses | ||
- haddockComments | ||
- hlint | ||
- importLens | ||
- moduleName | ||
# - ormolu | ||
- pragmas | ||
- qualifyImportedNames | ||
- refineImports | ||
- rename | ||
- retrie | ||
- splice | ||
- stan | ||
# - stylish-haskell | ||
- tactics | ||
# - alternateNumberFormat | ||
# # - brittany | ||
# - callHierarchy | ||
# - changeTypeSignature | ||
# - class | ||
# - codeRange | ||
# - eval | ||
# - explicitFixity | ||
# # - floskell | ||
# # - fourmolu | ||
# - gadt | ||
# - ghcide-code-actions-bindings | ||
# - ghcide-code-actions-fill-holes | ||
# - ghcide-code-actions-imports-exports | ||
# - ghcide-code-actions-type-signatures | ||
# - ghcide-completions | ||
# # - ghcide-core # implicitly included in all configurations | ||
# # - ghcide-hover-and-symbols # implicitly included in all configurations | ||
# - ghcide-type-lenses | ||
# - haddockComments | ||
# - hlint | ||
# - importLens | ||
# - moduleName | ||
# # - ormolu | ||
# - pragmas | ||
# - qualifyImportedNames | ||
# - refineImports | ||
# - rename | ||
# - retrie | ||
# - splice | ||
# - stan | ||
# # - stylish-haskell | ||
# - tactics |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,9 +87,12 @@ extra-deps: | |
- constraints-extras-0.3.0.2@sha256:013b8d0392582c6ca068e226718a4fe8be8e22321cc0634f6115505bf377ad26,1853 | ||
- some-1.0.1@sha256:26e5bab7276f48b25ea8660d3fd1166c0f20fd497dac879a40f408e23211f93e,2055 | ||
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082 | ||
- lsp-1.5.0.0 | ||
- lsp-types-1.5.0.0 | ||
- lsp-test-0.14.0.3 | ||
- git: [email protected]:haskell/lsp | ||
commit: b0f8596887088b8ab65fc1015c773f45b47234ae | ||
subdirs: | ||
- lsp | ||
- lsp-types | ||
- lsp-test | ||
- stm-containers-1.1.0.4 | ||
- stm-hamt-1.2.0.6@sha256:fba86ccb4b45c5706c19b0e1315ba63dcac3b5d71de945ec001ba921fae80061,3972 | ||
- primitive-extras-0.10.1 | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,9 +55,12 @@ extra-deps: | |
- refinery-0.4.0.0@sha256:fe3a43add8ff1db5cfffee7e7694c86128b1dfe62c541f26e25a8eadf9585610,1663 | ||
- retrie-1.1.0.0 | ||
- stylish-haskell-0.14.2.0@sha256:fffe1c13ad4c2678cf28a7470cac5d3bf20c71c36f09969e3e5f186787cceb7c,4321 | ||
- lsp-1.5.0.0 | ||
- lsp-types-1.5.0.0 | ||
- lsp-test-0.14.0.3 | ||
- git: [email protected]:haskell/lsp | ||
commit: b0f8596887088b8ab65fc1015c773f45b47234ae | ||
subdirs: | ||
- lsp | ||
- lsp-types | ||
- lsp-test | ||
- co-log-core-0.3.1.0 | ||
|
||
configure-options: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,9 +41,12 @@ extra-deps: | |
- hiedb-0.4.1.0@sha256:fb20c657d9ecc91701b00dffcf4bbd77cb83720a1f9d867badd77ea227973135,2875 | ||
- implicit-hie-0.1.2.7@sha256:82bbbb1a8c05f99c8af3c16ac53e80c8648d8bf047b25ed5ce45a135bd736907,3122 | ||
- implicit-hie-cradle-0.5.0.0@sha256:4276f60f3a59bc22df03fd918f73bca9f777de9568f85e3a8be8bd7566234a59,2368 | ||
- lsp-1.5.0.0 | ||
- lsp-test-0.14.0.3 | ||
- lsp-types-1.5.0.0 | ||
- git: [email protected]:haskell/lsp | ||
commit: b0f8596887088b8ab65fc1015c773f45b47234ae | ||
subdirs: | ||
- lsp | ||
- lsp-types | ||
- lsp-test | ||
- monad-dijkstra-0.1.1.3@sha256:d2fc098d7c122555e726830a12ae0423ac187f89de9228f32e56e2f6fc2238e1,1900 | ||
- retrie-1.2.0.1 | ||
- co-log-core-0.3.1.0 | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should compare with origin/master by default, so that we can see if a PR makes the performance better or worse.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I disabled it temporarily when merging the benchmark suite PR because
upstream/master
lacked some fixes that were required to run it. Thanks for enabling it!