Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 difference #177

Merged
merged 2 commits into from
Dec 17, 2024
Merged

🚀 difference #177

merged 2 commits into from
Dec 17, 2024

Conversation

yceffort-naver
Copy link
Contributor

This resolves #90

@yceffort-naver yceffort-naver self-assigned this Dec 17, 2024
@yceffort-naver yceffort-naver marked this pull request as ready for review December 17, 2024 01:06
@yceffort-naver yceffort-naver requested a review from a team as a code owner December 17, 2024 01:06
Copy link
Contributor

github-actions bot commented Dec 17, 2024

✅ All utility modules are properly registered

@npayfebot
Copy link
Collaborator

npayfebot commented Dec 17, 2024

✅ Changeset detected

Latest commit: 84c46d4

@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.

powered by: naverpay changeset detect-add actions

Copy link
Contributor

github-actions bot commented Dec 17, 2024

Benchmark Results

Method Test Performance Comparison hidash ops/sec lodash@4.17.21 ops/sec
difference src/difference.bench.ts > difference performance hidash is 3.19x faster 278.51 🏆 87.27

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/difference.bench.ts",
      "groups": [
        {
          "fullName": "src/difference.bench.ts > difference performance",
          "benchmarks": [
            {
              "id": "173394915_0_0",
              "name": "hidash",
              "rank": 1,
              "rme": 0.7002676108117645,
              "samples": [],
              "totalTime": 502.67164200000053,
              "min": 3.332642000000078,
              "max": 4.321660999999949,
              "hz": 278.51183218328407,
              "period": 3.5905117285714323,
              "mean": 3.5905117285714323,
              "variance": 0.02303863113903215,
              "sd": 0.1517848185393788,
              "sem": 0.012828158519175181,
              "df": 139,
              "critical": 1.96,
              "moe": 0.025143190697583355,
              "p75": 3.692233999999985,
              "p99": 4.013895000000048,
              "p995": 4.321660999999949,
              "p999": 4.321660999999949,
              "sampleCount": 140,
              "median": 3.5697795000000383
            },
            {
              "id": "173394915_0_1",
              "name": "lodash",
              "rank": 2,
              "rme": 3.0802368253791115,
              "samples": [],
              "totalTime": 504.1731599999998,
              "min": 10.785417000000052,
              "max": 15.28970900000013,
              "hz": 87.27160327217739,
              "period": 11.458480909090905,
              "mean": 11.458480909090905,
              "variance": 1.3467623039751597,
              "sd": 1.160500884952338,
              "sem": 0.174952091102832,
              "df": 43,
              "critical": 2.0174,
              "moe": 0.3529483485908532,
              "p75": 11.17109900000014,
              "p99": 15.28970900000013,
              "p995": 15.28970900000013,
              "p999": 15.28970900000013,
              "sampleCount": 44,
              "median": 10.95497899999998
            }
          ]
        }
      ]
    }
  ]
}

Last updated by GitHub Actions

Copy link
Member

@2-one-week 2-one-week left a comment

Choose a reason for hiding this comment

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

진짜 별 유틸이 다있네용

@yceffort-naver
Copy link
Contributor Author

약간 현타오기 시작 ㅋㅋㅋㅋ

@yceffort-naver yceffort-naver merged commit a490894 into main Dec 17, 2024
6 checks passed
@yceffort-naver yceffort-naver deleted the feature/90_difference branch December 17, 2024 02:53
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.

difference
3 participants