FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: add benchmark for first by umsungjun · Pull Request #262 · NaverPayDev/hidash · GitHub

feat: add benchmark for first - #262

Merged
yceffort-naver merged 1 commit into
NaverPayDev:mainfrom
umsungjun:feat/first-add-benchmark
May 10, 2025
Merged

feat: add benchmark for first#262
yceffort-naver merged 1 commit into
NaverPayDev:mainfrom
umsungjun:feat/first-add-benchmark

Conversation

Copy link
Copy Markdown
Contributor

Added first.bench.ts for performance comparison with lodash

Added first.bench.ts for performance comparison with lodash
umsungjun requested a review from a team as a code owner May 9, 2025 12:56

github-actions Bot commented May 9, 2025

Copy link
Copy Markdown
Contributor

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

github-actions Bot commented May 9, 2025

Copy link
Copy Markdown
Contributor

Benchmark Results

Method Test Performance Comparison hidash ops/sec lodash@4.17.21 ops/sec
first src/first.bench.ts > first performance hidash is 8.90x faster 527.73 🏆 59.26

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/first.bench.ts",
      "groups": [
        {
          "fullName": "src/first.bench.ts > first performance",
          "benchmarks": [
            {
              "id": "-809066490_0_0",
              "name": "hidash",
              "rank": 1,
              "rme": 0.24282142942248602,
              "samples": [],
              "totalTime": 500.2524309999997,
              "min": 1.7950480000000084,
              "max": 2.0947499999999764,
              "hz": 527.7335673757079,
              "period": 1.8948955719696958,
              "mean": 1.8948955719696958,
              "variance": 0.0014549108032953881,
              "sd": 0.038143293031611576,
              "sem": 0.0023475574050613305,
              "df": 263,
              "critical": 1.96,
              "moe": 0.004601212513920208,
              "p75": 1.900115000000028,
              "p99": 2.0809050000000298,
              "p995": 2.0825980000000754,
              "p999": 2.0947499999999764,
              "sampleCount": 264,
              "median": 1.8893005000000471
            },
            {
              "id": "-809066490_0_1",
              "name": "lodash",
              "rank": 2,
              "rme": 0.611193320353591,
              "samples": [],
              "totalTime": 506.2154939999997,
              "min": 16.64991299999997,
              "max": 18.115943000000016,
              "hz": 59.26329864569498,
              "period": 16.87384979999999,
              "mean": 16.87384979999999,
              "variance": 0.07629923550824023,
              "sd": 0.27622316251219814,
              "sem": 0.05043121900444876,
              "df": 29,
              "critical": 2.045,
              "moe": 0.10313184286409771,
              "p75": 16.94566700000007,
              "p99": 18.115943000000016,
              "p995": 18.115943000000016,
              "p999": 18.115943000000016,
              "sampleCount": 30,
              "median": 16.781600000000026
            }
          ]
        }
      ]
    }
  ]
}

Last updated by GitHub Actions

yceffort-naver left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks so much for your continued interest in hidash! I’ll keep doing my best to help it grow into an awesome project. 🚀✨

yceffort-naver merged commit 196a145 into NaverPayDev:main May 10, 2025

Copy link
Copy Markdown
Contributor Author

Thanks so much for your support!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL