Skip to content

[CLEAN] Synthetic Benchmark PR #30246 - feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244)#130

Open
tomerqodo wants to merge 1 commit intobase_pr_30246_20260109_3768from
clean_pr_30246_20260109_3768
Open

[CLEAN] Synthetic Benchmark PR #30246 - feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244)#130
tomerqodo wants to merge 1 commit intobase_pr_30246_20260109_3768from
clean_pr_30246_20260109_3768

Conversation

@tomerqodo
Copy link

Benchmark PR langgenius#30246

Type: Clean (correct implementation)

Original PR Title: feat(web): migrate from es-toolkit/compat to native es-toolkit (langgenius#30244)
Original PR Description: Migrate some files from es-toolkit/compat to native es-toolkit.

Migrated:

  • noop → es-toolkit/function
  • cloneDeep, omit, clone, pick → es-toolkit/object
  • uniq, intersection → es-toolkit/array
  • capitalize, camelCase, kebabCase, escape → es-toolkit/string
  • isEqual → es-toolkit/predicate

Kept in compat (API differences):

  • uniqueId, isEmpty
  • get, merge, flow, curry, debounce - different APIs
  • uniqBy, groupBy, intersectionBy - property string support
  • flatten - undefined handling

Benefits: 2-3x faster, smaller bundle

Another:

  • Remove lodash dependency in web/

Part of langgenius#30243
Fixes langgenius#30244

Original PR URL: langgenius#30246

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.

1 participant