Open
Bug 1487151
Opened 6 years ago
Updated 2 years ago
Write generated gcda on a ram disk on taskcluster when ccov is enabled
Categories
(Testing :: Code Coverage, enhancement)
Tracking
(Not tracked)
NEW
People
(Reporter: calixte, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
On my machine: - ./mach xpcshell-test xpcom => ~7s without ccov - ./mach xpcshell-test xpcom => ~2m with ccov - GCOV_PREFIX=/mnt/ramdisk ./mach xpcshell-test xpcom => ~17s with ccov where /mnt/ramdisk has been created with: mount -t tmpfs -o size=1000m tmpfs /mnt/ramdisk
Updated•6 years ago
|
No longer blocks: code-coverage
Comment 1•6 years ago
|
||
What, if any, disadvantages could there be to using a ramdisk over a standard disk?
Flags: needinfo?(cdenizet)
Comment 2•6 years ago
|
||
The only disadvantage is that memory usage is increased by a large margin, so we have to make sure we don't run out of memory.
Comment 3•6 years ago
|
||
Bug 1487320 can help in decreasing the memory usage.
Reporter | ||
Comment 4•6 years ago
|
||
I don't see any disadvantage other than the memory consumption which will increase. A first step we can do is to compute the total size of all the gcdas after running all the tests.
Flags: needinfo?(cdenizet)
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•