#memory #ram #benchmark #tokio #command-line-utilites

app virust

ViRust 是一款允许您用随机值填充所需内存量的 '基准测试' 工具或软件,以查看您的计算机在有限 RAM 条件下的性能。

3 个稳定版本

2.1.5 2023 年 6 月 19 日
2.0.0 2023 年 6 月 18 日

#2#command-line-utilites

MIT 许可证

52KB
183

ViRust 内存测试器

GitHub commit activity (branch) GitHub GitHub code size in bytes GitHub repo file count (file type) GitHub Repo stars

GitHub all releases Crates.io

ViRust 是一款 "基准测试" 工具或软件,允许您用随机值填充所需的内存量,以查看您的计算机在有限 RAM 条件下的性能。

图形用户界面

Graphical User Interface

命令行界面

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