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

chore: comparative benchmarks with lodash #258

Draft
wants to merge 75 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
cade19b
chore: setup comparisons folder
MarlonPassos-git Sep 27, 2024
38d9aa0
test: add benchmark tests for lodash and radashi.
MarlonPassos-git Sep 27, 2024
2e56e99
test(castArray): add benchmark tests for lodash and radashi.
MarlonPassos-git Sep 27, 2024
98d06c8
test(zip,set,clone,isPlainObject,get): add benchmark tests for lodash…
MarlonPassos-git Sep 27, 2024
aff08e7
fix: type error
MarlonPassos-git Sep 27, 2024
9dc0e1d
test(isFunction,isString,isNumber,isObject,isEmpty,snake,title,dash,c…
MarlonPassos-git Sep 27, 2024
accb440
test(Error): ensures operation with Error
MarlonPassos-git Sep 28, 2024
153c31b
test(last,assign,isArray,isBoolean,isDate,cluster,isEqual,isError,isI…
MarlonPassos-git Sep 28, 2024
8ebc434
chore: try to fix fix heap out of memory
MarlonPassos-git Sep 28, 2024
278c577
test(isMap): add one more bench for false otput
MarlonPassos-git Sep 29, 2024
19f845b
test(isRegExp): add benchmar tests for lodash and radashi
MarlonPassos-git Sep 29, 2024
8ab68e6
test(isRegExp): add benchmar tests for lodash and radashi
MarlonPassos-git Sep 29, 2024
705f1c8
test(isSymbol): add benchmark tests for lodash and radashi
MarlonPassos-git Sep 29, 2024
79984e3
test(isWeakMap): add benchmark tests for lodash and radashi
MarlonPassos-git Sep 29, 2024
7a706d3
test(isWeakSet): add benchmark tests for lodash and radashi
MarlonPassos-git Sep 29, 2024
9879ab5
test(template): add benchmark tests for lodash and radashi
MarlonPassos-git Sep 29, 2024
81cdaa5
test(trim): add benchmark tests for lodash and radashi
MarlonPassos-git Sep 29, 2024
7ae3ad9
chore: move @radashi-org/biome-config to devDependencies
aleclarson Oct 5, 2024
70345e0
docs: add pt-br readme (#259)
MarlonPassos-git Oct 7, 2024
75aa1b1
test: refine the existing `set()` tests
aleclarson Oct 14, 2024
ce64d95
chore: stop referencing `console` in isEqual test
aleclarson Oct 14, 2024
1536c89
chore: stop using `node:` protocol in tests
aleclarson Oct 14, 2024
263a892
chore(deps): lock file maintenance
renovate[bot] Oct 7, 2024
81202cf
chore: install @types/node in tests folder
aleclarson Oct 14, 2024
af7ad00
Revert "chore: stop using `node:` protocol in tests"
aleclarson Oct 14, 2024
eaa5d0d
chore: update lockfile
Oct 14, 2024
f62041e
chore: have cspell ignore pt-br readme
aleclarson Oct 14, 2024
2f8a410
chore: have cspell ignore tsconfig files
aleclarson Oct 14, 2024
fae4903
chore: stop using pnpm workspace
aleclarson Oct 14, 2024
f44da7d
chore: update lockfile
Oct 14, 2024
70fca6f
test(isEqual): add order-agnostic cases for Set and Map (#269)
Blafasel3 Oct 14, 2024
38b82b2
docs: typo in `chain` example (#270)
fResult Oct 16, 2024
ef3de3d
feat(types): allow readonly array in `omit` function (#272)
shan-shaji Oct 18, 2024
36c6625
chore: center the language links
aleclarson Oct 21, 2024
1db318c
chore(deps): lock file maintenance (#278)
renovate[bot] Nov 1, 2024
5e39ec4
docs: fix runtime errors in docs examples for playground (#247)
MarlonPassos-git Nov 1, 2024
8667209
chore: release v12.2.0
aleclarson Nov 1, 2024
4a176ce
chore: add vitest config to cspell ignore
aleclarson Nov 6, 2024
00231f8
chore: exclude src/*.ts modules from coverage
aleclarson Nov 6, 2024
e6be65f
chore: set exactOptionalPropertyTypes to true
aleclarson Nov 6, 2024
266d657
chore: format
aleclarson Nov 6, 2024
ff05a4a
chore: use --provenance when publishing
aleclarson Nov 6, 2024
1de2c2a
ci: require explicit --latest flag for stable release
aleclarson Nov 6, 2024
9a12a9c
chore: add publish-latest workflow
aleclarson Nov 6, 2024
8c83e36
ci: exit publishVersion if next version equals latest version
aleclarson Nov 6, 2024
338a694
chore: force provenance in npmrc
aleclarson Nov 6, 2024
b002b50
chore: remove "prepublishOnly" and "release" scripts
aleclarson Nov 6, 2024
cc47e35
test: add type tests for `group`
aleclarson Nov 6, 2024
f0f1788
fix(types): improve signature of `shake` (#293)
aleclarson Nov 7, 2024
944365b
fix(types): `mapValues` index signature handling (#297)
aleclarson Nov 7, 2024
cae1c56
fix(types): let `zipToObject` receive readonly arrays (#294)
aeharding Nov 7, 2024
9f76b09
ci: checkout with deploy key when publishing
aleclarson Nov 7, 2024
2dc4f6d
ci: fix deploy key by using ssh url
aleclarson Nov 9, 2024
7ee42e7
chore: use separate changelog for `next` tag
aleclarson Nov 9, 2024
e22db0f
ci: fix provenance in publish-beta
aleclarson Nov 9, 2024
660e381
chore: add release notes for PRs to edit
aleclarson Nov 9, 2024
6d82d75
ci: add prerelease-pr workflow
aleclarson Nov 9, 2024
4275cde
chore: setup comparisons folder
MarlonPassos-git Sep 27, 2024
517a7e9
chore: try to fix fix heap out of memory
MarlonPassos-git Sep 28, 2024
f09e165
chore: update vitest
MarlonPassos-git Nov 10, 2024
bf648ad
chore: remove heap analysis
MarlonPassos-git Nov 10, 2024
15c498b
Merge remote-tracking branch 'upstream/main' into feature/comparative…
MarlonPassos-git Nov 23, 2024
42e1278
test(isWeekSet): add benchmar tests for lodash and radashi
MarlonPassos-git Nov 23, 2024
ddf6a6c
test(isWeekMap): add benchmar tests for lodash and radashi
MarlonPassos-git Nov 23, 2024
f758b90
test(isSymbol): add benchmar tests for lodash and radashi
MarlonPassos-git Nov 23, 2024
cdbe4f3
test(isSet): add benchmar tests for lodash and radashi
MarlonPassos-git Nov 23, 2024
031393b
test(isRegExp): add benchmar tests for lodash and radashi
MarlonPassos-git Nov 23, 2024
7659983
test(isPlainObject): add more tests
MarlonPassos-git Nov 23, 2024
857b862
test(isMap): add benchmar tests for lodash and radashi
MarlonPassos-git Nov 23, 2024
63606d2
test(trim): add more tests
MarlonPassos-git Nov 23, 2024
0b0f24c
test(template): add benchmar tests for lodash and radashi
MarlonPassos-git Nov 23, 2024
04a78a8
test(shuffle): add benchmar tests for lodash and radashi
MarlonPassos-git Nov 23, 2024
d4b9aea
test(random): add benchmar tests for lodash and radashi
MarlonPassos-git Nov 23, 2024
b60dede
test(omit): add benchmar tests for lodash and radashi
MarlonPassos-git Nov 23, 2024
ad01725
test(alphabetical): add benchmar tests for lodash and radashi
MarlonPassos-git Nov 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion benchmarks/object/cloneDeep.bench.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as _ from 'radashi'

describe('cloneDeep', () => {
const objects: any = _.list(0, 5, i => {
const objects: any = _.list<number>(0, 5, i => {
const object: any = {}
_.set(object, 'a.b.c.d.e.f.g.h.i.k.l.m.n.o.p', i)
return object
Expand Down
3 changes: 3 additions & 0 deletions benchmarks/typed/isMap.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ describe('isMap', () => {
bench('with valid input', () => {
_.isMap(new Map())
})
bench('with invalid input', () => {
_.isMap({})
})
})
3 changes: 3 additions & 0 deletions benchmarks/typed/isRegExp.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ describe('isRegExp', () => {
bench('with valid input', () => {
_.isRegExp(/.+/)
})
bench('with invalid input', () => {
_.isRegExp({})
})
})
3 changes: 3 additions & 0 deletions benchmarks/typed/isSet.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ describe('isSet', () => {
bench('with valid input', () => {
_.isSet(new Set())
})
bench('with invalid input', () => {
_.isSet(new Map())
}
})
3 changes: 3 additions & 0 deletions benchmarks/typed/isWeakMap.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ describe('isWeakMap', () => {
bench('with valid input', () => {
_.isWeakMap(new WeakMap())
})
bench('with invalid input', () => {
_.isWeakMap(new Map())
})
})
3 changes: 3 additions & 0 deletions benchmarks/typed/isWeakSet.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ describe('isWeakSet', () => {
bench('with valid input', () => {
_.isWeakSet(new WeakSet())
})
bench('with invalid input', () => {
_.isWeakSet(new Set())
})
})
Loading
Loading