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

[SR-9226] Breadcrumb benchmarks #51715

Closed
milseman mannequin opened this issue Nov 12, 2018 · 1 comment
Closed

[SR-9226] Breadcrumb benchmarks #51715

milseman mannequin opened this issue Nov 12, 2018 · 1 comment
Assignees
Labels
standard library Area: Standard library umbrella

Comments

@milseman
Copy link
Mannequin

milseman mannequin commented Nov 12, 2018

Previous ID SR-9226
Radar None
Original Reporter @milseman
Type Sub-task
Status Closed
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Sub-task
Assignee @lorentey
Priority Medium

md5: 093a1355c4a0693c829916647a30dc63

Parent-Task:

  • SR-8905 Gaps in String benchmarking

Issue Description:

String's breacrumbing needs benchmarks, over both ASCII and mixed text, measuring:

  • `getCharacters` via `_copyUTF16CodeUnits`

  • `Range<String.Index>` to `Range<Int>` via `_toUTF16Offsets`

  • `Range<Int>` to `Range<String.Index>` via `_toUTF16Indices`

  • Int -> String.Index via `_toUTF16Index`

  • String.Index -> Int via `_toUTF16Offset`

  • String breadcrumb creation via a new entry point this benchmark needs to add.

@lorentey
Copy link
Member

#20769

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
standard library Area: Standard library umbrella
Projects
None yet
Development

No branches or pull requests

1 participant