3 个稳定版本
2.1.5 | 2023 年 6 月 19 日 |
---|---|
2.0.0 | 2023 年 6 月 18 日 |
52KB
183 行
ViRust 内存测试器
ViRust 是一款 "基准测试" 工具或软件,允许您用随机值填充所需的内存量,以查看您的计算机在有限 RAM 条件下的性能。
图形用户界面
命令行界面
ViRust Memory Filler
Usage: virust [COMMAND]
Commands:
memory Fills the random access memory to a desired amount
gui
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
Fills the random access memory to a desired amount
Usage: virust memory [OPTIONS]
Options:
-g, --gigas <GIGAS> Gigas of RAM to be filled [default: 0]
-m, --megas <MEGAS> Megas of RAM to be filled [default: 0]
-k, --kilos <KILOS> Kilobytes of RAM to be filled [default: 100]
-h, --help Print help
示例
$ RUST_LOG=INFO ./virust memory -m 10
INFO virust > Arguments: Arguments { commands: Some(Memory(MemoryArgs { gigas: 0.0, megas: 10.0, kilos: 100 })) }
INFO virust::subcommands::memory > Segments to Fill: 315628
INFO virust::subcommands::memory > Starting fill at 2023-06-18 17:01:26.782489577 -05:00
INFO virust::subcommands::memory > Tasks started after 0 ms, at 2023-06-18 17:01:26.782681049 -05:00
INFO virust::subcommands::memory > Finished after 278 ms, at 2023-06-18 17:01:27.060923054 -05:00
INFO virust::subcommands::memory > Bytes Filled: 10100100
INFO virust > Press any key to free the memory
依赖项
~14–53MB
~858K SLoC