Flutter Engine
The Flutter Engine
|
#include "bench/Benchmark.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkFontMgr.h"
#include "include/core/SkPicture.h"
#include "include/core/SkPictureRecorder.h"
#include "modules/skottie/include/Skottie.h"
#include "tools/DecodeUtils.h"
#include "tools/Resources.h"
#include "tools/fonts/FontToolUtils.h"
Go to the source code of this file.
Classes | |
class | DecodeBench |
class | BitmapDecodeBench |
class | SkottieDecodeBench |
class | SkottiePictureDecodeBench |
Functions | |
DEF_BENCH (return new SkottieDecodeBench("skottie_large", "skottie/skottie-text-scale-to-fit-minmax.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_medium", "skottie/skottie-sphere-effect.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_small", "skottie/skottie_sample_multiframe.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_connecting.json", "skottie/skottie-phonehub-connecting.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_generic_error.json", "skottie/skottie-phonehub-generic-error.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_onboard.json", "skottie/skottie-phonehub-onboard.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_svgo_connecting.json", "skottie/skottie-phonehub-svgo-connecting.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_svgo_generic_error.json", "skottie/skottie-phonehub-svgo-generic-error.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_svgo_onboard.json", "skottie/skottie-phonehub-svgo-onboard.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_svgo_no_masks_connecting.json", "skottie/skottie-phonehub-svgo-no-masks-connecting.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_svgo_no_masks_onboard.json", "skottie/skottie-phonehub-svgo-no-masks-onboard.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_svgo_no_frills_connecting.json", "skottie/skottie-phonehub-svgo-no-frills-connecting.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_svgo_no_frills_generic_error.json", "skottie/skottie-phonehub-svgo-no-frills-generic-error.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_svgo_no_frills_onboard.json", "skottie/skottie-phonehub-svgo-no-frills-onboard.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_connecting_min.json", "skottie/skottie-phonehub-connecting_min.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_generic_error_min.json", "skottie/skottie-phonehub-generic-error_min.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_onboard_min.json", "skottie/skottie-phonehub-onboard_min.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_svgo_connecting_min.json", "skottie/skottie-phonehub-svgo-connecting_min.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_svgo_generic_error_min.json", "skottie/skottie-phonehub-svgo-generic-error_min.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_svgo_onboard_min.json", "skottie/skottie-phonehub-svgo-onboard_min.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_svgo_no_masks_connecting_min.json", "skottie/skottie-phonehub-svgo-no-masks-connecting_min.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_svgo_no_masks_onboard_min.json", "skottie/skottie-phonehub-svgo-no-masks-onboard_min.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_svgo_no_frills_connecting_min.json", "skottie/skottie-phonehub-svgo-no-frills-connecting_min.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_svgo_no_frills_generic_error_min.json", "skottie/skottie-phonehub-svgo-no-frills-generic-error_min.json")) | |
DEF_BENCH (return new SkottieDecodeBench("skottie_phonehub_svgo_no_frills_onboard_min.json", "skottie/skottie-phonehub-svgo-no-frills-onboard_min.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_large", "skottie/skottie-text-scale-to-fit-minmax.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_medium", "skottie/skottie-sphere-effect.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_small", "skottie/skottie_sample_multiframe.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_connecting.json", "skottie/skottie-phonehub-connecting.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_generic_error.json", "skottie/skottie-phonehub-generic-error.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_onboard.json", "skottie/skottie-phonehub-onboard.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_svgo_connecting.json", "skottie/skottie-phonehub-svgo-connecting.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_svgo_generic_error.json", "skottie/skottie-phonehub-svgo-generic-error.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_svgo_onboard.json", "skottie/skottie-phonehub-svgo-onboard.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_svgo_no_masks_connecting.json", "skottie/skottie-phonehub-svgo-no-masks-connecting.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_svgo_no_masks_onboard.json", "skottie/skottie-phonehub-svgo-no-masks-onboard.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_svgo_no_frills_connecting.json", "skottie/skottie-phonehub-svgo-no-frills-connecting.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_svgo_no_frills_generic_error.json", "skottie/skottie-phonehub-svgo-no-frills-generic-error.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_svgo_no_frills_onboard.json", "skottie/skottie-phonehub-svgo-no-frills-onboard.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_connecting_min.json", "skottie/skottie-phonehub-connecting_min.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_generic_error_min.json", "skottie/skottie-phonehub-generic-error_min.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_onboard_min.json", "skottie/skottie-phonehub-onboard_min.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_svgo_connecting_min.json", "skottie/skottie-phonehub-svgo-connecting_min.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_svgo_generic_error_min.json", "skottie/skottie-phonehub-svgo-generic-error_min.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_svgo_onboard_min.json", "skottie/skottie-phonehub-svgo-onboard_min.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_svgo_no_masks_connecting_min.json", "skottie/skottie-phonehub-svgo-no-masks-connecting_min.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_svgo_no_masks_onboard_min.json", "skottie/skottie-phonehub-svgo-no-masks-onboard_min.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_svgo_no_frills_connecting_min.json", "skottie/skottie-phonehub-svgo-no-frills-connecting_min.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_svgo_no_frills_generic_error_min.json", "skottie/skottie-phonehub-svgo-no-frills-generic-error_min.json")) | |
DEF_BENCH (return new SkottiePictureDecodeBench("skottiepic_phonehub_svgo_no_frills_onboard_min.json", "skottie/skottie-phonehub-svgo-no-frills-onboard_min.json")) | |
DEF_BENCH (return new BitmapDecodeBench("png_large", "images/mandrill_1600.png")) | |
DEF_BENCH (return new BitmapDecodeBench("png_medium", "images/mandrill_512.png")) | |
DEF_BENCH (return new BitmapDecodeBench("png_small", "images/mandrill_32.png")) | |
DEF_BENCH (return new BitmapDecodeBench("png_phonehub_connecting", "images/Connecting.png")) | |
DEF_BENCH (return new BitmapDecodeBench("png_phonehub_generic_error", "images/Generic_Error.png")) | |
DEF_BENCH (return new BitmapDecodeBench("png_phonehub_onboard", "images/Onboard.png")) | |
DEF_BENCH | ( | return new | BitmapDecodeBench"png_large", "images/mandrill_1600.png" | ) |
DEF_BENCH | ( | return new | BitmapDecodeBench"png_medium", "images/mandrill_512.png" | ) |
DEF_BENCH | ( | return new | BitmapDecodeBench"png_phonehub_connecting", "images/Connecting.png" | ) |
DEF_BENCH | ( | return new | BitmapDecodeBench"png_phonehub_generic_error", "images/Generic_Error.png" | ) |
DEF_BENCH | ( | return new | BitmapDecodeBench"png_phonehub_onboard", "images/Onboard.png" | ) |
DEF_BENCH | ( | return new | BitmapDecodeBench"png_small", "images/mandrill_32.png" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_large", "skottie/skottie-text-scale-to-fit-minmax.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_medium", "skottie/skottie-sphere-effect.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_connecting.json", "skottie/skottie-phonehub-connecting.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_connecting_min.json", "skottie/skottie-phonehub-connecting_min.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_generic_error.json", "skottie/skottie-phonehub-generic-error.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_generic_error_min.json", "skottie/skottie-phonehub-generic-error_min.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_onboard.json", "skottie/skottie-phonehub-onboard.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_onboard_min.json", "skottie/skottie-phonehub-onboard_min.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_svgo_connecting.json", "skottie/skottie-phonehub-svgo-connecting.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_svgo_connecting_min.json", "skottie/skottie-phonehub-svgo-connecting_min.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_svgo_generic_error.json", "skottie/skottie-phonehub-svgo-generic-error.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_svgo_generic_error_min.json", "skottie/skottie-phonehub-svgo-generic-error_min.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_svgo_no_frills_connecting.json", "skottie/skottie-phonehub-svgo-no-frills-connecting.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_svgo_no_frills_connecting_min.json", "skottie/skottie-phonehub-svgo-no-frills-connecting_min.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_svgo_no_frills_generic_error.json", "skottie/skottie-phonehub-svgo-no-frills-generic-error.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_svgo_no_frills_generic_error_min.json", "skottie/skottie-phonehub-svgo-no-frills-generic-error_min.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_svgo_no_frills_onboard.json", "skottie/skottie-phonehub-svgo-no-frills-onboard.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_svgo_no_frills_onboard_min.json", "skottie/skottie-phonehub-svgo-no-frills-onboard_min.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_svgo_no_masks_connecting.json", "skottie/skottie-phonehub-svgo-no-masks-connecting.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_svgo_no_masks_connecting_min.json", "skottie/skottie-phonehub-svgo-no-masks-connecting_min.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_svgo_no_masks_onboard.json", "skottie/skottie-phonehub-svgo-no-masks-onboard.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_svgo_no_masks_onboard_min.json", "skottie/skottie-phonehub-svgo-no-masks-onboard_min.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_svgo_onboard.json", "skottie/skottie-phonehub-svgo-onboard.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_phonehub_svgo_onboard_min.json", "skottie/skottie-phonehub-svgo-onboard_min.json" | ) |
DEF_BENCH | ( | return new | SkottieDecodeBench"skottie_small", "skottie/skottie_sample_multiframe.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_large", "skottie/skottie-text-scale-to-fit-minmax.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_medium", "skottie/skottie-sphere-effect.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_connecting.json", "skottie/skottie-phonehub-connecting.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_connecting_min.json", "skottie/skottie-phonehub-connecting_min.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_generic_error.json", "skottie/skottie-phonehub-generic-error.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_generic_error_min.json", "skottie/skottie-phonehub-generic-error_min.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_onboard.json", "skottie/skottie-phonehub-onboard.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_onboard_min.json", "skottie/skottie-phonehub-onboard_min.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_svgo_connecting.json", "skottie/skottie-phonehub-svgo-connecting.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_svgo_connecting_min.json", "skottie/skottie-phonehub-svgo-connecting_min.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_svgo_generic_error.json", "skottie/skottie-phonehub-svgo-generic-error.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_svgo_generic_error_min.json", "skottie/skottie-phonehub-svgo-generic-error_min.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_svgo_no_frills_connecting.json", "skottie/skottie-phonehub-svgo-no-frills-connecting.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_svgo_no_frills_connecting_min.json", "skottie/skottie-phonehub-svgo-no-frills-connecting_min.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_svgo_no_frills_generic_error.json", "skottie/skottie-phonehub-svgo-no-frills-generic-error.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_svgo_no_frills_generic_error_min.json", "skottie/skottie-phonehub-svgo-no-frills-generic-error_min.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_svgo_no_frills_onboard.json", "skottie/skottie-phonehub-svgo-no-frills-onboard.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_svgo_no_frills_onboard_min.json", "skottie/skottie-phonehub-svgo-no-frills-onboard_min.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_svgo_no_masks_connecting.json", "skottie/skottie-phonehub-svgo-no-masks-connecting.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_svgo_no_masks_connecting_min.json", "skottie/skottie-phonehub-svgo-no-masks-connecting_min.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_svgo_no_masks_onboard.json", "skottie/skottie-phonehub-svgo-no-masks-onboard.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_svgo_no_masks_onboard_min.json", "skottie/skottie-phonehub-svgo-no-masks-onboard_min.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_svgo_onboard.json", "skottie/skottie-phonehub-svgo-onboard.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_phonehub_svgo_onboard_min.json", "skottie/skottie-phonehub-svgo-onboard_min.json" | ) |
DEF_BENCH | ( | return new | SkottiePictureDecodeBench"skottiepic_small", "skottie/skottie_sample_multiframe.json" | ) |