Skip to content

Optimize touch_position_to_pixel_position performance by avoiding NumPy overhead for small 2D coordinate mapping.#349

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_936352978
Jun 23, 2026
Merged

Optimize touch_position_to_pixel_position performance by avoiding NumPy overhead for small 2D coordinate mapping.#349
copybara-service[bot] merged 1 commit into
mainfrom
test_936352978

Conversation

@copybara-service

Copy link
Copy Markdown

Optimize touch_position_to_pixel_position performance by avoiding NumPy overhead for small 2D coordinate mapping.

Benchmark results (local runs, n=10):
name old time/op new time/op delta
TouchPositionToPixelPosition 5.19µs ± 1% 1.60µs ± 1% -69.12% (p=0.000 n=10)

@copybara-service copybara-service Bot force-pushed the test_936352978 branch 2 times, most recently from bba007f to 79eac9f Compare June 23, 2026 13:54
…Py overhead for small 2D coordinate mapping.

Benchmark results (local runs, n=10):
name                                   old time/op   new time/op   delta
TouchPositionToPixelPosition           5.19µs ± 1%   1.60µs ± 1%  -69.12%  (p=0.000 n=10)

PiperOrigin-RevId: 936642726
@copybara-service copybara-service Bot merged commit a9fb2a4 into main Jun 23, 2026
1 check passed
@copybara-service copybara-service Bot deleted the test_936352978 branch June 23, 2026 14:00
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