• Lau Ching Jun's avatar
    Optimize file transfer when using proxied devices. (#139968) · c1caa24a
    Lau Ching Jun authored
    List of changes:
    1. Optimizations in FileTransfer. a. Use `stream.forEach` instead of `await for`. b. Type cast `List<int>` to `Uint8List` instead of using `Uint8List.fromList` results in (presumably) fewer copy and faster execution. c. Iterate through `Uint8List` with regular for loop instead of for-in loop.
    2. Precache the block hashes of a file, and reuse it on subsequent runs.
    c1caa24a
Name
Last commit
Last update
..
analyze.dart Loading commit data...
analyze_base.dart Loading commit data...
analyze_continuously.dart Loading commit data...
analyze_once.dart Loading commit data...
android_analyze.dart Loading commit data...
assemble.dart Loading commit data...
attach.dart Loading commit data...
build.dart Loading commit data...
build_aar.dart Loading commit data...
build_apk.dart Loading commit data...
build_appbundle.dart Loading commit data...
build_bundle.dart Loading commit data...
build_ios.dart Loading commit data...
build_ios_framework.dart Loading commit data...
build_linux.dart Loading commit data...
build_macos.dart Loading commit data...
build_macos_framework.dart Loading commit data...
build_preview.dart Loading commit data...
build_web.dart Loading commit data...
build_windows.dart Loading commit data...
channel.dart Loading commit data...
clean.dart Loading commit data...
config.dart Loading commit data...
create.dart Loading commit data...
create_base.dart Loading commit data...
custom_devices.dart Loading commit data...
daemon.dart Loading commit data...
debug_adapter.dart Loading commit data...
devices.dart Loading commit data...
doctor.dart Loading commit data...
downgrade.dart Loading commit data...
drive.dart Loading commit data...
emulators.dart Loading commit data...
generate.dart Loading commit data...
generate_localizations.dart Loading commit data...
ide_config.dart Loading commit data...
install.dart Loading commit data...
ios_analyze.dart Loading commit data...
logs.dart Loading commit data...
make_host_app_editable.dart Loading commit data...
packages.dart Loading commit data...
precache.dart Loading commit data...
run.dart Loading commit data...
screenshot.dart Loading commit data...
shell_completion.dart Loading commit data...
symbolize.dart Loading commit data...
test.dart Loading commit data...
update_packages.dart Loading commit data...
upgrade.dart Loading commit data...
validate_project.dart Loading commit data...