summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver_test.cc
diff options
context:
space:
mode:
authorShubham Ajmera <shubhamajmera@google.com>2017-04-26 19:26:46 -0700
committerShubham Ajmera <shubhamajmera@google.com>2017-05-11 10:31:40 -0700
commit4f0a15a85eaa0a7665f703d435a9b61059eed536 (patch)
tree830bea8dd99157a92bdefdee061781fcb23282de /compiler/driver/compiler_driver_test.cc
parentb75e66e7636b3100432c7459130f55e12c12e0ab (diff)
Compress profile files
The change brings in new serialization format: magic,version,number_of_dex_files,uncompressed_size_of_zipped_data, compressed_data_size zipped[dex_location1,number_of_classes1,methods_region_size,dex_location_checksum1, \ method_encoding_11,method_encoding_12...,class_id1,class_id2... dex_location2,number_of_classes2,methods_region_size,dex_location_checksum2, \ method_encoding_21,method_encoding_22...,,class_id1,class_id2... .....] The data is compressed using zlib level 1 compression. Sample app profile statistics on host with and without the change: App1 Without - 10ms, 160K With - 15ms, 74K App2 Without - 4ms, 106K With - 7ms, 54K App3 Without 3ms, 74K, With - 7ms, 54K Bug: 36281963 Test: dexlayout_test, profile_assistant_test, \ profman_test, profile_compilation_info_test Change-Id: Iefa51a5a76adb33eef22aa76cdf85c3fe0a59a2a
Diffstat (limited to 'compiler/driver/compiler_driver_test.cc')
0 files changed, 0 insertions, 0 deletions