pickedreadprobe

command
v1.3.0-rc.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2026 License: BSD-3-Clause Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command pickedreadprobe checks, on a device, that a document opened through the mobile driver's reader is read through its file rather than into memory (#1020): a file larger than the device's memory is read end to end, seeked and read at offsets, and the process's peak resident size stays flat.

Launched, it runs by itself: it writes a fixture of fixtureSize bytes into its own storage, opens it with storage.Reader (the same reader a picked file gets, minus the security scope), checks every block, then deletes the fixture. Lines starting "PROBE" go to the console. With PROBE_AUTO set it then quits, for a scripted run:

xcrun devicectl device process launch --console --environment-variables '{"PROBE_AUTO":"1"}' --device <udid> com.trendvidia.pickedreadprobe

The "Pick a file" button runs the same read on a file picked from Files, with its security scope, for a check by hand. Without PROBE_AUTO the probe stays open for that, as it does when opened from the home screen.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL