TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A Web Framework for ESP8266

4 pointsby mingodadover 9 years ago

1 comment

mingodadover 9 years ago
I just bought 2 nodemcu 0.9 boards and tested then with <a href="http:&#x2F;&#x2F;www.nodemcu.com&#x2F;index_en.html" rel="nofollow">http:&#x2F;&#x2F;www.nodemcu.com&#x2F;index_en.html</a> and <a href="https:&#x2F;&#x2F;github.com&#x2F;esp8266&#x2F;Arduino" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;esp8266&#x2F;Arduino</a> and both of then have problems when tested with the board as webserver (panic&#x2F;reset and memory leaks&#x2F;freeze).<p>The ESPWebFramework was the only one so far that works and stay alive with the apache benchamrk tool:<p>ab -n 1000 -c 20 <a href="http:&#x2F;&#x2F;192.168.4.1&#x2F;confwifi" rel="nofollow">http:&#x2F;&#x2F;192.168.4.1&#x2F;confwifi</a><p>This is ApacheBench, Version 2.3 &lt;$Revision: 1528965 $&gt;<p>Copyright 1996 Adam Twiss, Zeus Technology Ltd, <a href="http:&#x2F;&#x2F;www.zeustech.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.zeustech.net&#x2F;</a><p>Licensed to The Apache Software Foundation, <a href="http:&#x2F;&#x2F;www.apache.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.apache.org&#x2F;</a><p>Benchmarking 192.168.4.1 (be patient)<p>Completed 100 requests<p>Completed 200 requests<p>Completed 300 requests<p>Completed 400 requests<p>Completed 500 requests<p>Completed 600 requests<p>Completed 700 requests<p>Completed 800 requests<p>Completed 900 requests<p>Completed 1000 requests<p>Finished 1000 requests<p>Server Software:<p>Server Hostname: 192.168.4.1<p>Server Port: 80<p>Document Path: &#x2F;confwifi<p>Document Length: 3770 bytes<p>Concurrency Level: 20<p>Time taken for tests: 44.099 seconds<p>Complete requests: 1000<p>Failed requests: 0<p>Total transferred: 3855000 bytes<p>HTML transferred: 3770000 bytes<p>Requests per second: 22.68 [#&#x2F;sec] (mean)<p>Time per request: 881.980 [ms] (mean)<p>Time per request: 44.099 [ms] (mean, across all concurrent requests)<p>Transfer rate: 85.37 [Kbytes&#x2F;sec] received<p>Connection Times (ms) min mean[+&#x2F;-sd] median max<p>Connect: 1 160 1296.8 3 31044<p>Processing: 49 226 145.4 216 2104<p>Waiting: 13 165 121.4 159 2097<p>Total: 51 385 1321.4 222 31876<p>Percentage of the requests served within a certain time (ms)<p><pre><code> 50% 222 66% 240 75% 251 80% 259 90% 284 95% 1211 98% 2107 99% 3235 100% 31876 (longest request)</code></pre>