-
Notifications
You must be signed in to change notification settings - Fork 6
feat: add unit tests and benchmark for isArray #252
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
feat: add unit tests and benchmark for isArray #252
Conversation
- Added isArray.test.ts for verifying functionality - Added isArray.bench.ts for performance comparison with lodash
✅ All utility modules are properly registered in |
Benchmark Results
View Full Benchmark Data{
"files": [
{
"filepath": "/home/runner/work/hidash/hidash/src/isArray.bench.ts",
"groups": [
{
"fullName": "src/isArray.bench.ts > isArray performance",
"benchmarks": [
{
"id": "1080123271_0_0",
"name": "hidash",
"rank": 1,
"rme": 0.4986020908109256,
"samples": [],
"totalTime": 501.12418400000024,
"min": 1.7790019999999913,
"max": 2.820974000000035,
"hz": 516.837958073881,
"period": 1.9348424092664103,
"mean": 1.9348424092664103,
"variance": 0.006274613910987065,
"sd": 0.07921246057904693,
"sem": 0.004922022809438167,
"df": 258,
"critical": 1.96,
"moe": 0.009647164706498807,
"p75": 1.9460749999999507,
"p99": 2.2879349999999476,
"p995": 2.4738739999999666,
"p999": 2.820974000000035,
"sampleCount": 259,
"median": 1.9275199999999586
},
{
"id": "1080123271_0_1",
"name": "lodash",
"rank": 2,
"rme": 0.16427843463533898,
"samples": [],
"totalTime": 516.7567079999994,
"min": 17.065432999999985,
"max": 17.442688999999973,
"hz": 58.05439878295693,
"period": 17.225223599999982,
"mean": 17.225223599999982,
"variance": 0.0057441461101094835,
"sd": 0.07579014520443593,
"sem": 0.013837324055020516,
"df": 29,
"critical": 2.045,
"moe": 0.028297327692516954,
"p75": 17.271789999999896,
"p99": 17.442688999999973,
"p995": 17.442688999999973,
"p999": 17.442688999999973,
"sampleCount": 30,
"median": 17.226079000000027
}
]
}
]
}
]
} Last updated by GitHub Actions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for consistently contributing to hidash. Feel free to merge whenever you’re ready. 🚀
I have a question since I couldn't see the merge button, I was wondering how I should go about merging. Could you let me know the proper way to do it? |
Oh, sorry about that—I didn’t realize external contributors couldn’t see the merge button. I’ll go ahead and merge it myself. Thanks again! 😊 |
Yes, thank you as always 😊 |
Test

Benchmark
