Need help for HTTP Client Porting

cmorgan
Posts: 89
Joined: Thu Aug 24, 2017 12:52 am

Re: Need help for HTTP Client Porting

Postby cmorgan » Mon Jan 08, 2018 1:58 am

Ritesh wrote:
cmorgan wrote:@Ritesh, would you mind providing the output of your 'make size-components'? I'm interested in the overhead in terms of size of a nghttpd server to compare against the httpd server I'm more familiar with, libesphttpd.
Ok. Will send details w.r.t. component size tomorrow morning
Here is what I get with log level info, debug (-Og) enabled. Most libesphttpd features are enabled, including ssl support. I'd like to compare the liblibesphttpd size against the nghttpd size.

Code: Select all

$ make -j7 size-components
Total sizes:
 DRAM .data size:   13472 bytes
 DRAM .bss  size:  118904 bytes
Used static DRAM:  132376 bytes (  48360 available, 73.2% used)
Used static IRAM:   74716 bytes (  56356 available, 57.0% used)
      Flash code:  570213 bytes
    Flash rodata:  205980 bytes
Total image size:~ 864381 bytes (.bin may be padded larger)
Per-archive contributions to ELF file:
            Archive File DRAM .data & .bss   IRAM Flash code & rodata   Total
         libapp_update.a          0     80      0       2154      809    3043
 libbootloader_support.a          0      4      0       2094     1391    3489
                  libc.a          0     20     12      78605     8281   86918
            libcoexist.a         32     19    188        209        0     448
            libconsole.a          4     52      0       9584     2068   11708
               libcore.a          0      5      0        503      213     721
                libcxx.a          4      0      0         38       42      84
             libdriver.a         92     65    752      20856    18062   39827
      libesp32-ds18b20.a          0      0      0       1530      554    2084
          libesp32-owb.a         20      0      0       2669     1041    3730
              libesp32.a       2597    418   7230      11103     7023   28371
        libesp_adc_cal.a          0      0      0        305      624     929
           libethernet.a          0      0      0          0        0       0
           libfreertos.a       4148    776  15817          0     2240   22981
                libgcc.a          4     20    104       9637      808   10573
                libhal.a          0      0    515          0       32     547
               libheap.a       1342      4   3501       1167     1020    7034
               libjson.a         12      8      0       5018      641    5679
        liblibesphttpd.a          4   1548      0      13855     5747   21154
                liblog.a          8    268    438        408      162    1284
               liblwip.a         19   4858      0      85451    15716  106044
                  libm.a          4      0     92       1552        4    1652
               libmain.a        100  88938     32      21756    16802  127628
            libmbedtls.a         88    264      0     104843    18922  124117
               libmdns.a          0   3060      0       8612      154   11826
           libnet80211.a       1852   8288     27      75567     6825   92559
             libnewlib.a        152    252    750        559      107    1820
          libnvs_flash.a          0     32      0       9623     2719   12374
            libopenssl.a          0      4      0       2824      183    3011
                libphy.a       1330    865  31153          0        0   33348
                 libpp.a        808   7551   1602      54122     8208   72291
            libpthread.a         16      8    178        764      761    1727
                librtc.a          0      4   1129          0        0    1133
                libsoc.a        680      8   3682          0     1239    5609
          libspi_flash.a         36    323   6464       1240     1832    9895
             libstdc++.a          8     20      0       3092     4505    7625
      libtcpip_adapter.a          0    223      0       3705      328    4256
                libvfs.a         40     63      0       2474      437    3014
     libwebpages-espfs.a          0      0      0          0    75004   75004
                libwpa.a          0    702      0      20070     2320   23092
               libwpa2.a          0      1      0          0        0       1
     libwpa_supplicant.a          0      0      0       9971        4    9975
                libwps.a          0      1      0          0        0       1

Who is online

Users browsing this forum: Google [Bot] and 121 guests