You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add +swbt none to remove busy-wait and improve performance (#331)
* Add +swbt none to remove busy-wait and improve performance
Utilizing busy-wait to reduce latency primarily makes sense for
applications that are running as the only node on the machine. So it
doesn't make sense for ElixirLS because there will usually be other
processes running on the machine such as the editor and potentially
other ElixirLS instances.
A blog post that touches on `+swbt none`:
https://www.ably.io/blog/beam-optimization-mqtt/
Also add sbwtdcpu and sbwtdio
Fixes#328
* Add +sbwt none to .bat files also
* Update changelog
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ Potentially breaking changes:
5
5
6
6
Improvements:
7
7
- Use ElixirSense's error tolerant parser for document symbols (thanks [Łukasz Samson](https://github.com/lukaszsamson)) [#322](https://github.com/elixir-lsp/elixir-ls/pull/322)
8
+
- Disable busy-wait in BEAM to reduce CPU usage (thanks [Jason Axelson](https://github.com/axelson)) [#331](https://github.com/elixir-lsp/elixir-ls/pull/331)
8
9
9
10
House keeping:
10
11
- Fix the link in the README to releases (thanks [RJ Dellecese](https://github.com/rjdellecese)) [#312](https://github.com/elixir-lsp/elixir-ls/pull/312)
0 commit comments