ollama-bench 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.idx/dev.nix ADDED
@@ -0,0 +1,21 @@
1
+ { pkgs }: {
2
+ channel = "unstable";
3
+ packages =
4
+ let
5
+ bunLatest = builtins.fetchurl {
6
+ url = "https://github.com/oven-sh/bun/releases/download/canary/bun-linux-x64.zip";
7
+ };
8
+ in
9
+ [
10
+ pkgs.nodejs_23
11
+ (pkgs.bun.overrideAttrs (oldAttrs: {
12
+ version = "canary";
13
+ src = bunLatest;
14
+ }))
15
+ ];
16
+ idx.extensions = [
17
+ "biomejs.biome"
18
+ "BeardedBear.beardedicons"
19
+ "BeardedBear.beardedtheme"
20
+ ];
21
+ }
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
- # Ollama Benchmark Script
2
- A command-line tool to benchmark and compare the performance of Ollama language models. Measures tokens per second, memory usage, and total processing time.
1
+ # Ollama-bench
2
+ A command-line tool to benchmark and compare the performance of Ollama language models. Measures tokens per second and total processing time.
3
3
 
4
4
  ## Setup
5
5
 
@@ -30,20 +30,20 @@ For Windows users, you can also run Ollama from the system tray after installati
30
30
  ### 3. Install Benchmark Tool
31
31
  Install globally:
32
32
  ```bash
33
- npm install -g ollama-benchmark
33
+ npm install -g ollama-bench
34
34
  ```
35
35
  Or run directly with npx:
36
36
  ```bash
37
- npx ollama-benchmark <model1> [model2] [model3]
37
+ npx ollama-bench <model1> [model2] [model3]
38
38
  ```
39
39
 
40
40
  ## Usage
41
41
  ```bash
42
42
  # Using global installation
43
- ollama-benchmark smollm:135m qwen2.5:0.5b
43
+ ollama-bench smollm:135m qwen2.5:0.5b
44
44
 
45
45
  # Using npx (no installation required)
46
- npx ollama-benchmark smollm:135m qwen2.5:0.5b
46
+ npx ollama-bench smollm:135m qwen2.5:0.5b
47
47
  ```
48
48
 
49
49
  ## Troubleshooting
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ollama-bench",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "A CLI tool to benchmark Ollama models performance",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",