Comments (10)
@glistening: nuttx.bin
contains the tests (by ROMFS) as well. Should we have a NuttX build without the tests and report that size?
from js-remote-test.
@rtakacs Yes. We would like to know the minimal size. (i.e. without debug symbol, unit tests, ...)
from js-remote-test.
One way to measure it is to use arm-none-eabi-size
to get the size from static library file(*.a).
from js-remote-test.
In the build/arm-nuttx/release/lib folder there are more static libraries:
libhttpparser.a libiotjs.a libjerry-core.a libjerry-ext.a libjerry-libm.a libtuv.a
Is it enough just aggregate the main segments (.text, .data, .rodata) to approximate the binary size? In this case the binary size of the RPi2 target also should be use this mechanism (and not the ls
command that currently is used).
The binary size chart on the page can be an aggregated chart that can show the .text .data .rodata values.
from js-remote-test.
@rtakacs It seems ok. But I would like to get confirmed from @hs0225.
from js-remote-test.
The archive files contain unused symbols too. Link time optimization drop those symbols from the final binary, so reporting the archive sizes could be misleading. What about analyzing the map file of the linker? It might give us a more precise result.
from js-remote-test.
@LaszloLango Yes, you are right. Maybe the map file should be processed, because that contains the final .text, .data, .rodata sizes.
from js-remote-test.
@LaszloLango, @rtakacs In general, you're right. But @hs0225 suggested this approach for some reason. He showed numbers that it shows not much differences. He will contact and explain you on IRC for details. I am ok for map approach if @hs0225 agrees.
from js-remote-test.
@LaszloLango @rtakacs I agree to use the map file because it's the right way. FYI, TizenRT provides a utility to analyze map files.(os/tools/memstats_gnueabil.py)
Is it possible to measure size by using map file in rpi2 and nuttx?
from js-remote-test.
@hs0225 Yes, #53 uses the linker map file (on both targets) to approximate the binary size. Since #53 is landed, I'm closing this issue.
from js-remote-test.
Related Issues (16)
- Support Tizen HOT 6
- Freya dependency HOT 3
- Merge the test result repositories HOT 2
- Please share firebase database configuration HOT 2
- Travis CI HOT 2
- How to publish my test results? HOT 4
- Change the current architecture HOT 4
- JS-Remote-Test Requirement HOT 7
- Memory size is too large in TizenRT HOT 6
- Revise measurement tool for dynamic memory usage HOT 6
- artik053 does not build HOT 8
- Dependencies are not properly installed on Ubuntu 14.04 with install-deps.sh HOT 9
- Automate code coverage measurement (including System I/O) on RPI
- Do not duplicate the labels at charts HOT 5
- Use stable TizenRT hash like in case of NuttX HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-remote-test.