Commit bd4d19e9 authored by rinpatch's avatar rinpatch

readme: add a note about running with swarm

parent 74518eda
Pipeline #20995 passed with stage
in 31 seconds
......@@ -20,6 +20,15 @@ The following table provides median times it takes to decode a string to a tree
1. Myhtmlex has a C-Node mode as well, but it wasn't benchmarked here because it segfaults on `document-large.html`
2. The slowdown on `fragment-small.html` is due to C-Node overhead. Unlike html5ever and Myhtmlex in NIF mode, `fast_html` has the parser process isolated and communicates with it over the network, so even if a fatal crash in the parser happens, it won't bring down the entire VM.
## Note about running with [Swarm](
Since the myhtml worker runs as a separate node, Swarm will try to sync with it. Of course it will fail since it's not a real Erlang node. To prevent it from doing that, you can add the following to your configuration:
config :swarm, node_blacklist: [~r/myhtml_.*$/]
## Contribution / Bug Reports
* Please make sure you do `git submodule update` after a checkout/pull
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment