Skip to content

Conversation

@umsungjun
Copy link
Contributor

Added flow.bench.ts for performance comparison with Lodash.

image

Added `flow.bench.ts` for performance comparison with Lodash.
@umsungjun umsungjun requested a review from a team as a code owner November 21, 2025 01:57
@github-actions
Copy link
Contributor

✅ All utility modules are properly registered in index.ts and package.json exports!

@github-actions
Copy link
Contributor

Benchmark Results

Method Test Performance Comparison hidash ops/sec lodash@4.17.21 ops/sec
flow src/flow.bench.ts > flow performance hidash is 3.56x faster 45673.51 🏆 12833.99

Note: Higher operations per second (ops/sec) numbers are better. Each test compares hidash vs lodash implementation.

⚠️ indicates where hidash is slower than lodash.

🏆 indicates the faster implementation.

View Full Benchmark Data
{
  "files": [
    {
      "filepath": "/home/runner/work/hidash/hidash/src/flow.bench.ts",
      "groups": [
        {
          "fullName": "src/flow.bench.ts > flow performance",
          "benchmarks": [
            {
              "id": "1408615122_0_0",
              "name": "hidash",
              "rank": 1,
              "rme": 0.1038798351213256,
              "samples": [],
              "totalTime": 500.0053230000024,
              "min": 0.02161999999998443,
              "max": 0.11001599999997325,
              "hz": 45673.51375977229,
              "period": 0.02189452743355092,
              "mean": 0.02189452743355092,
              "variance": 0.000003075109353741415,
              "sd": 0.0017535989717553484,
              "sem": 0.000011604081121717399,
              "df": 22836,
              "critical": 1.96,
              "moe": 0.0000227439989985661,
              "p75": 0.02165100000001985,
              "p99": 0.028943999999910375,
              "p995": 0.03191999999990003,
              "p999": 0.042619999999999436,
              "sampleCount": 22837,
              "median": 0.021640999999988253
            },
            {
              "id": "1408615122_0_1",
              "name": "lodash",
              "rank": 2,
              "rme": 0.11539624563103783,
              "samples": [],
              "totalTime": 500.0004039999976,
              "min": 0.07711399999993773,
              "max": 0.18098800000007031,
              "hz": 12833.989630136439,
              "period": 0.07791809318996379,
              "mean": 0.07791809318996379,
              "variance": 0.000013504542855709367,
              "sd": 0.0036748527665349216,
              "sem": 0.00004587477255536305,
              "df": 6416,
              "critical": 1.96,
              "moe": 0.00008991455420851157,
              "p75": 0.07714400000008936,
              "p99": 0.08707300000014584,
              "p995": 0.09459700000002158,
              "p999": 0.13038400000004913,
              "sampleCount": 6417,
              "median": 0.0771349999999984
            }
          ]
        }
      ]
    }
  ]
}

Last updated by GitHub Actions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant