Skip to content

Conversation

@AndrewSRP
Copy link
Contributor

@AndrewSRP AndrewSRP commented Jun 20, 2025

This resolves

@AndrewSRP AndrewSRP self-assigned this Jun 20, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jun 20, 2025

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

@npayfebot
Copy link
Collaborator

npayfebot commented Jun 20, 2025

✅ Changeset detected

Latest commit: 8095f11

@naverpay/hidash package have detected changes.

If no version change is needed, please add skip-detect-change to the label.

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@naverpay/hidash ✨ Minor
powered by: naverpay changeset detect-add actions

@github-actions
Copy link
Contributor

github-actions bot commented Jul 9, 2025

Benchmark Results

Method Test Performance Comparison hidash ops/sec [email protected] ops/sec
sortBy src/sortBy.bench.ts > sortBy performance hidash is 1.20x faster 2.26 🏆 1.88

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/sortBy.bench.ts",
      "groups": [
        {
          "fullName": "src/sortBy.bench.ts > sortBy performance",
          "benchmarks": [
            {
              "id": "1776642059_0_0",
              "name": "hidash sortBy",
              "rank": 1,
              "rme": 1.7132720663207657,
              "samples": [],
              "totalTime": 4418.773155000001,
              "min": 434.8492210000004,
              "max": 462.47664699999996,
              "hz": 2.263071592323005,
              "period": 441.87731550000007,
              "mean": 441.87731550000007,
              "variance": 112.01363238926405,
              "sd": 10.583649294513876,
              "sem": 3.3468437727098057,
              "df": 9,
              "critical": 2.262,
              "moe": 7.5705606138695805,
              "p75": 443.4577340000005,
              "p99": 462.47664699999996,
              "p995": 462.47664699999996,
              "p999": 462.47664699999996,
              "sampleCount": 10,
              "median": 436.20437600000014
            },
            {
              "id": "1776642059_0_1",
              "name": "lodash sortBy",
              "rank": 2,
              "rme": 0.14800016231682517,
              "samples": [],
              "totalTime": 5310.598016000002,
              "min": 529.081529000001,
              "max": 533.2210240000004,
              "hz": 1.883027103514814,
              "period": 531.0598016000001,
              "mean": 531.0598016000001,
              "variance": 1.2073301328211723,
              "sd": 1.098785753830642,
              "sem": 0.3474665642649911,
              "df": 9,
              "critical": 2.262,
              "moe": 0.7859693683674099,
              "p75": 531.4083900000005,
              "p99": 533.2210240000004,
              "p995": 533.2210240000004,
              "p999": 533.2210240000004,
              "sampleCount": 10,
              "median": 531.1625865000005
            }
          ]
        }
      ]
    }
  ]
}

Last updated by GitHub Actions

@AndrewSRP
Copy link
Contributor Author

AndrewSRP commented Jul 9, 2025

includeRequiredPolyfill > 'es.array.sort' = 0.79 kB │ gzip: 0.46 kB

skipRequiredPolyfillCheck > 'es.array.sort' = 0.72 kB │ gzip: 0.44 kB

https://v8.dev/blog/array-sort

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort

@AndrewSRP AndrewSRP marked this pull request as ready for review July 14, 2025 04:11
@AndrewSRP AndrewSRP requested a review from a team as a code owner July 14, 2025 04:11
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.

3 participants