benchfella icon indicating copy to clipboard operation
benchfella copied to clipboard

How about running Benchfella on Nerves?

Open zacky1972 opened this issue 4 years ago • 3 comments

Benchfella generates an intermediate file bench/snapshots on the file system, though Benchfella cannot run on Nerves because the file system of Nerves is immutable, that is, the file cannot be generate.

Thus, I propose Benchfella should generate not any intermediate files but some data on local data base such as mnesia, ETS and so on.

How about it?

zacky1972 avatar Dec 18 '19 03:12 zacky1972

@zacky1972 Can you change the current directory to /tmp before running Benchfella? Or can you set the output directory?

fhunleth avatar Dec 18 '19 03:12 fhunleth

Hi.

The mix bench task supports an -o/--output option that allows to set the path to the temp directory or disable its creation:

    -o <path>, --output=<path>
        Path to the directory in which to store snapshots. The directory will
        be created if necessary.
    
        Setting it to an empty value will prevent benchfella from creating
        any files or directories.
    
        Default: bench/snapshots.

alco avatar Dec 19 '19 15:12 alco

I see. I'll try it.

zacky1972 avatar Dec 19 '19 21:12 zacky1972