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
Performance of `ESP32Async/ESPAsyncWebServer @ 3.6.2`:
125
+
Performance of `ESP32Async/ESPAsyncWebServer`:
133
126
134
127
```bash
135
128
> brew install autocannon
@@ -193,7 +186,7 @@ Read #165 thread, it might give you some hints.
193
186
`CONFIG_ASYNC_TCP_RUNNING_CORE` - CPU core thread affinity that runs the queue events handling and executes server callbacks. Default is ANY core, so it means that for dualcore SoCs both cores could handle server activities. If your server's code is too heavy and unoptimized or you see that sometimes
194
187
server might affect other network activities, you might consider to bind it to the same core that runs Arduino code (1) to minimize affect on radio part. Otherwise you can leave the default to let RTOS decide where to run the thread based on priority
195
188
196
-
`CONFIG_ASYNC_TCP_STACK_SIZE` - stack size for the thread that runs sever events and callbacks. Default is 16k that is a way too much waste for well-defined short async code or simple static file handling. You might want to cosider reducing it to 4-8k to same RAM usage. If you do not know what this is or not sure about your callback code demands - leave it as default, should be enough even for very hungry callbacks in most cases.
189
+
`CONFIG_ASYNC_TCP_STACK_SIZE` - stack size for the thread that runs sever events and callbacks. Default is 16k that is a way too much waste for well-defined short async code or simple static file handling. You might want to cosider reducing it to 4-8k to same RAM usage. If you do not know what this is or not sure about your callback code demands - leave it as default, should be enough even for very hungry callbacks in most cases.
197
190
198
191
> [!NOTE]
199
192
> This relates to ESP32 only, ESP8266 uses different ESPAsyncTCP lib that does not has this build options
@@ -336,7 +329,9 @@ myHandler.addMiddleware(&authMiddleware); // add authentication to a specific ha
336
329
These callbacks are also not triggering the whole middleware chain since they are not part of the request processing workflow (they are not the final handler).
337
330
338
331
## Original Documentation
332
+
339
333
<!-- no toc -->
334
+
340
335
-[Why should you care](#why-should-you-care)
341
336
-[Important things to remember](#important-things-to-remember)
342
337
-[Principles of operation](#principles-of-operation)
0 commit comments