• Ian Hickson's avatar
    [H] Move the splitting of licenses to an isolate (#14160) · a29d723c
    Ian Hickson authored
    * Move the splitting of licenses to an isolate
    
    This improves (from horrific to terrible) the performance of the
    license screen. It also introduces a feature in the foundation layer
    to make using isolates for one-off computations easier.
    
    The real problem that remains with this, though, is that transfering
    data between isolates is a stop-the-world operation and can take an
    absurd amount of time (far more than a few milliseconds), so we still
    skip frames.
    
    More work thus remains to be done.
    
    * - Add profile instrumentation to the isolate compute() method
    - Add profile instrumentation to the LicensePage
    - Add profile instrumentation to the scheduleTask method
    - Make scheduleTask support returning a value
    - Make the license page builder logic use scheduled tasks so that it doesn't blow the frame budget
    a29d723c
Name
Last commit
Last update
..
test Loading commit data...
README.md Loading commit data...
VERSION_LINUX_NDK Loading commit data...
VERSION_LINUX_SDK Loading commit data...
VERSION_MACOSX_NDK Loading commit data...
VERSION_MACOSX_SDK Loading commit data...
VERSION_WIN_SDK Loading commit data...
analyze-sample-code.dart Loading commit data...
docs.sh Loading commit data...
download_android_tools.py Loading commit data...
find_depot_tools.py Loading commit data...
prepare_package.dart Loading commit data...
pubspec.yaml Loading commit data...
test.dart Loading commit data...
travis_install.sh Loading commit data...
travis_setup.sh Loading commit data...
travis_upload.sh Loading commit data...
upload_android_tools.py Loading commit data...