Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 17, 2022. It is now read-only.
This repository was archived by the owner on Dec 17, 2022. It is now read-only.

Very slow to read metadata of jpeg images #6

@tex

Description

@tex

It is caused by commit 43096b1.

([email protected])10> fprof:analyse().
Processing data...
Creating output...
%% Analysis results:
{ analysis_options,
[{callers, true},
{sort, acc},
{totals, false},
{details, true}]}.

% CNT ACC OWN
[{ totals, 31648842,165938.366,165078.095}]. %%%

% CNT ACC OWN
[{ "<0.297.0>", 31648842,undefined,165078.095}]. %%

{[{undefined, 0,165938.366, 0.036}],
{ {fprof,apply_start_stop,4}, 0,165938.366, 0.036}, %
[{{erl_img,read_file_info,1}, 1,165938.330, 0.017},
{suspend, 1, 0.000, 0.000}]}.

{[{{fprof,apply_start_stop,4}, 1,165938.330, 0.017}],
{ {erl_img,read_file_info,1}, 1,165938.330, 0.017}, %
[{{erl_img,magic_info,1}, 1,165937.731, 0.022},
{{erl_img,file_info,2}, 1, 0.580, 0.007},
{{erlang,setelement,3}, 1, 0.002, 0.002}]}.

{[{{erl_img,read_file_info,1}, 1,165937.731, 0.022}],
{ {erl_img,magic_info,1}, 1,165937.731, 0.022}, %
[{{erl_img,read_magic_info,1}, 1,165936.310, 0.012},
{{file,open,2}, 1, 0.578, 0.018},
{{filename,basename,1}, 1, 0.483, 0.013},
{{file,close,1}, 1, 0.335, 0.010},
{{erlang,setelement,3}, 1, 0.003, 0.003}]}.

{[{{erl_img,magic_info,1}, 1,165936.310, 0.012}],
{ {erl_img,read_magic_info,1}, 1,165936.310, 0.012}, %
[{{erl_img,read_info,2}, 1,165935.977, 0.007},
{{file,position,2}, 1, 0.156, 0.005},
{{file,read,2}, 1, 0.152, 0.005},
{{erl_img,magic,2}, 1, 0.013, 0.007}]}.

{[{{erl_img,read_magic_info,1}, 1,165935.977, 0.007}],
{ {erl_img,read_info,2}, 1,165935.977, 0.007}, %
[{{image_jpeg,read_info,1}, 1,165935.857, 0.011},
{{file,position,2}, 1, 0.113, 0.004}]}.

{[{{erl_img,read_info,2}, 1,165935.857, 0.011}],
{ {image_jpeg,read_info,1}, 1,165935.857, 0.011}, %
[{{image_jpeg,read_segments,2}, 1,165935.405, 0.012},
{{image_jpeg,jfd_read_bytes,2}, 1, 0.439, 0.022},
{{image_jpeg,jfd,1}, 1, 0.002, 0.002}]}.

{[{{image_jpeg,read_info,1}, 1,165935.405, 0.012},
{{image_jpeg,segment,3}, 9, 0.000, 0.137},
{{image_jpeg,read_segments,2}, 1, 0.000, 0.015}],
{ {image_jpeg,read_segments,2}, 11,165935.405, 0.164}, %
[{{image_jpeg,segment,3}, 10,165934.921, 0.169},
{{image_jpeg,read_sos,3}, 1,165765.065, 0.023},
{{image_jpeg,init_sos,2}, 1, 4.706, 0.044},
{{image_jpeg,jfd_skip,1}, 11, 3.908, 0.084},
{{io,format,2}, 11, 1.378, 0.093},
{{image_jpeg,jfd_read_bytes,2}, 2, 0.376, 0.035},
{{image_jpeg,read_segments,2}, 1, 0.000, 0.015}]}.

{[{{image_jpeg,read_segments,2}, 10,165934.921, 0.169}],
{ {image_jpeg,segment,3}, 10,165934.921, 0.169}, %
[{{image_jpeg,'-read_segments/2-fun-5-',2}, 1, 92.862, 0.007},
{{image_jpeg,'-read_segments/2-fun-6-',2}, 1, 33.354, 0.003},
{{io,format,1}, 1, 20.885, 0.003},
{{image_jpeg,'-read_segments/2-fun-2-',2}, 2, 7.214, 0.006},
{{image_jpeg,jfd_read_bytes,2}, 20, 3.954, 0.265},
{{image_jpeg,'-read_segments/2-fun-3-',3}, 1, 1.186, 0.006},
{{image_jpeg,'-read_segments/2-fun-7-',2}, 1, 0.175, 0.012},
{{image_jpeg,'-read_segments/2-fun-1-',2}, 1, 0.005, 0.003},
{{image_jpeg,'-read_segments/2-fun-8-',2}, 2, 0.004, 0.004},
{{image_jpeg,read_segments,2}, 9, 0.000, 0.137}]}.

{[{{image_jpeg,read_segments,2}, 1,165765.065, 0.023}],
{ {image_jpeg,read_sos,3}, 1,165765.065, 0.023}, %
[{{image_jpeg,read_mcu_h,6}, 1,154395.734, 0.008},
{{image_jpeg,cvt_rgb_h,4}, 1,11369.087, 0.012},
{{io,format,2}, 1, 0.196, 0.006},
{{lists,duplicate,2}, 1, 0.022, 0.005},
{{erlang,setelement,3}, 1, 0.003, 0.003}]}.

{[{{image_jpeg,read_sos,3}, 1,154395.734, 0.008},
{{image_jpeg,read_mcu_h,6}, 83, 0.000, 0.659}],
{ {image_jpeg,read_mcu_h,6}, 84,154395.734, 0.667}, %
[{{image_jpeg,read_mcu_w,6}, 83,154395.051, 1.169},
{{lists,reverse,1}, 1, 0.016, 0.003},
{{image_jpeg,read_mcu_h,6}, 83, 0.000, 0.659}]}.

{[{{image_jpeg,read_mcu_h,6}, 83,154395.051, 1.169},
{{image_jpeg,read_mcu_w,6}, 4897, 0.000, 61.874}],
{ {image_jpeg,read_mcu_w,6}, 4980,154395.051, 63.043}, %
[{{image_jpeg,read_mcu,5}, 4897,154260.817, 42.527},
{{image_jpeg,read_rst,4}, 4897, 69.463, 20.880},
{{lists,reverse,1}, 83, 1.578, 0.516},
{suspend, 12, 0.150, 0.000},
{{image_jpeg,read_mcu_w,6}, 4897, 0.000, 61.874}]}.

{[{{image_jpeg,read_mcu_w,6}, 4897,154260.817, 42.527},
{{image_jpeg,read_mcu,5}, 14691, 0.000, 136.551}],
{ {image_jpeg,read_mcu,5}, 19588,154260.817, 179.078}, %
[{{image_jpeg,read_block,5}, 14691,153993.518, 318.838},
{{lists,reverse,1}, 9794, 87.723, 59.609},
{suspend, 32, 0.498, 0.000},
{{image_jpeg,read_mcu,5}, 14691, 0.000, 136.551}]}.

{[{{image_jpeg,read_mcu,5}, 14691,153993.518, 318.838},
{{image_jpeg,read_block,5}, 14691, 0.000, 92.580}],
{ {image_jpeg,read_block,5}, 29382,153993.518, 411.418}, %
[{{epx_dct,inverse_8x8,1}, 14691,115545.789, 57.557},
{{image_jpeg,decode_block,3}, 14691,31798.586, 241.651},
{{image_jpeg,dequantize,2}, 14691, 6090.760, 1072.763},
{{image_jpeg,rzigzag,1}, 14691, 101.606, 93.373},
{{lists,reverse,1}, 14691, 44.352, 44.352},
{suspend, 53, 0.835, 0.000},
{garbage_collect, 1, 0.172, 0.172},
{{image_jpeg,read_block,5}, 14691, 0.000, 92.580}]}.

{[{{image_jpeg,read_block,5}, 14691,115545.789, 57.557}],
{ {epx_dct,inverse_8x8,1}, 14691,115545.789, 57.557}, %
[{{epx_dct,inverse_8x8_1,1}, 14691,115488.124, 244.778},
{suspend, 7, 0.108, 0.000}]}.

{[{{epx_dct,inverse_8x8,1}, 14691,115488.124, 244.778}],
{ {epx_dct,inverse_8x8_1,1}, 14691,115488.124, 244.778}, %
[{{epx_dct,multiply,2}, 29382,115018.955, 1249.615},
{{epx_dct,dct_matrix,1}, 14691, 134.301, 59.248},
{{epx_dct,dct_transposed_matrix,1}, 14691, 89.793, 51.633},
{suspend, 20, 0.233, 0.000},
{garbage_collect, 1, 0.064, 0.064}]}.

{[{{epx_dct,inverse_8x8_1,1}, 29382,115018.955, 1249.615},
{{epx_dct,multiply,2}, 235056, 0.000, 1120.041}],
{ {epx_dct,multiply,2}, 264438,115018.955, 2369.656}, %
[{{epx_dct,mcolumns,2}, 235056,112642.206,10052.495},
{suspend, 193, 7.093, 0.000},
{{epx_dct,multiply,2}, 235056, 0.000, 1120.041}]}.

{[{{epx_dct,multiply,2}, 235056,112642.206,10052.495},
{{epx_dct,mcolumns,2}, 1880448, 0.000, 9052.714}],
{ {epx_dct,mcolumns,2}, 2115504,112642.206,19105.209}, %
[{{epx_dct,mcolumn,4}, 1880448,93457.680, 7658.320},
{suspend, 2454, 78.859, 0.000},
{garbage_collect, 1, 0.458, 0.458},
{{epx_dct,mcolumns,2}, 1880448, 0.000, 9052.714}]}.

{[{{epx_dct,mcolumns,2}, 1880448,93457.680, 7658.320},
{{epx_dct,mcolumn,4}, 15043584, 0.000,64178.125}],
{ {epx_dct,mcolumn,4}, 16924032,93457.680,71836.445}, %
[{{lists,reverse,1}, 1880448,19365.954,11411.891},
{garbage_collect, 492, 2012.419, 2012.419},
{suspend, 7541, 242.862, 0.000},
{{epx_dct,mcolumn,4}, 15043584, 0.000,64178.125}]}.

{[{{image_jpeg,read_block,5}, 14691,31798.586, 241.651}],
{ {image_jpeg,decode_block,3}, 14691,31798.586, 241.651}, %
[{{image_jpeg,decode_block_ac,4}, 14691,30250.361, 295.443},
{{image_jpeg,jfd_decode_bits,2}, 14691, 877.238, 56.304},
{{image_jpeg,jfd_read_bits,2}, 14691, 360.136, 186.084},
{{image_jpeg,category_decode,2}, 14691, 68.510, 68.510},
{suspend, 52, 0.690, 0.000}]}.

{[{{image_jpeg,decode_block,3}, 14691,30250.361, 295.443},
{{image_jpeg,decode_block_ac,4}, 283638, 0.000, 5687.125}],
{ {image_jpeg,decode_block_ac,4}, 298329,30250.361, 5982.568}, %
[{{image_jpeg,jfd_decode_bits,2}, 296261,14374.998, 1123.789},
{{image_jpeg,jfd_read_bits,2}, 283081, 5209.754, 2462.909},
{{image_jpeg,decode_eob,3}, 12623, 2187.547, 55.596},
{{image_jpeg,cat_zeros,2}, 283638, 1280.939, 862.792},
{{image_jpeg,category_decode,2}, 283081, 1040.948, 1039.537},
{garbage_collect, 5, 87.793, 87.793},
{{lists,reverse,1}, 2068, 50.992, 19.657},
{suspend, 947, 33.127, 0.000},
{{erlang,min,2}, 557, 1.695, 1.695},
{{image_jpeg,decode_block_ac,4}, 283638, 0.000, 5687.125}]}.

{[{{epx_dct,mcolumn,4}, 1880448,19365.954,11411.891},
{{image_jpeg,decode_eob,3}, 12623, 161.318, 91.561},
{{image_jpeg,read_mcu,5}, 9794, 87.723, 59.609},
{{image_jpeg,decode_block_ac,4}, 2068, 50.992, 19.657},
{{image_jpeg,read_block,5}, 14691, 44.352, 44.352},
{{image_jpeg,emit_ht,2}, 348, 5.621, 3.918},
{{epx_huffman,dht_codes,5}, 348, 2.121, 1.277},
{{image_jpeg,read_mcu_w,6}, 83, 1.578, 0.516},
{{image_jpeg,cvt_rgb_h,4}, 1, 0.054, 0.021},
{{epx_huffman,dec_dht,4}, 4, 0.032, 0.016},
{{string,tokens2,4}, 7, 0.024, 0.021},
{{image_tiff,decode_strings,3}, 4, 0.019, 0.014},
{{image_jpeg,decode_dqt,6}, 2, 0.019, 0.013},
{{image_jpeg,read_mcu_h,6}, 1, 0.016, 0.003}],
{ {lists,reverse,1}, 1920422,19719.823,11632.869}, %
[{{lists,reverse,2}, 1905716, 7519.257, 7519.257},
{garbage_collect, 190, 567.697, 567.697}]}.

{[{{image_jpeg,decode_block_ac,4}, 296261,14374.998, 1123.789},
{{image_jpeg,decode_block,3}, 14691, 877.238, 56.304}],
{ {image_jpeg,jfd_decode_bits,2}, 310952,15252.236, 1180.093}, %
[{{image_jpeg,jfd_decode_bits_,3}, 310952,14068.129, 1220.173},
{suspend, 161, 3.158, 0.000},
{garbage_collect, 2, 0.856, 0.856}]}.

{[{{image_jpeg,jfd_decode_bits,2}, 310952,14068.129, 1220.173}],
{ {image_jpeg,jfd_decode_bits_,3}, 310952,14068.129, 1220.173}, %
[{{image_jpeg,jfd_decode_bits_,4}, 310952,12835.311, 1645.232},
{suspend, 127, 12.645, 0.000}]}.

{[{{image_jpeg,jfd_decode_bits_,3}, 310952,12835.311, 1645.232},
{{image_jpeg,jfd_decode_bits_,4}, 1321005, 0.000, 7115.957}],
{ {image_jpeg,jfd_decode_bits_,4}, 1631957,12835.311, 8761.189}, %
[{{image_jpeg,jfd_load_bits,2}, 147135, 2627.670, 557.302},
{{erlang,setelement,3}, 458087, 1357.046, 1357.046},
{garbage_collect, 40, 60.791, 60.791},
{suspend, 818, 28.615, 0.000},
{{image_jpeg,jfd_decode_bits_,4}, 1321005, 0.000, 7115.957}]}.

{[{{image_jpeg,read_sos,3}, 1,11369.087, 0.012},
{{image_jpeg,cvt_rgb_h,4}, 83, 0.000, 1.319}],
{ {image_jpeg,cvt_rgb_h,4}, 84,11369.087, 1.331}, %
[{{image_jpeg,cvt_rgb_w,3}, 83,11359.683, 0.729},
{{image_jpeg,forfold,5}, 83, 8.019, 0.477},
{{lists,reverse,1}, 1, 0.054, 0.021},
{{image_jpeg,cvt_rgb_h,4}, 83, 0.000, 1.319}]}.

{[{{image_jpeg,cvt_rgb_h,4}, 83,11359.683, 0.729},
{{image_jpeg,cvt_rgb_w,3}, 4897, 0.000, 40.186}],
{ {image_jpeg,cvt_rgb_w,3}, 4980,11359.683, 40.915}, %
[{{image_jpeg,cvt_mcu,3}, 4897,11318.768, 25.104},
{{image_jpeg,cvt_rgb_w,3}, 4897, 0.000, 40.186}]}.

{[{{image_jpeg,cvt_rgb_w,3}, 4897,11318.768, 25.104}],
{ {image_jpeg,cvt_mcu,3}, 4897,11318.768, 25.104}, %
[{{image_jpeg,cvt_ycbcr,4}, 4897,11293.664, 206.242}]}.

{[{{image_jpeg,cvt_mcu,3}, 4897,11293.664, 206.242},
{{image_jpeg,cvt_ycbcr,4}, 39176, 0.000, 206.914}],
{ {image_jpeg,cvt_ycbcr,4}, 44073,11293.664, 413.156}, %
[{{image_jpeg,cvt_ycbcr_row,4}, 39176,10879.749, 294.233},
{suspend, 44, 0.759, 0.000},
{{image_jpeg,cvt_ycbcr,4}, 39176, 0.000, 206.914}]}.

{[{{image_jpeg,cvt_ycbcr,4}, 39176,10879.749, 294.233},
{{image_jpeg,cvt_ycbcr_row,4}, 313408, 0.000, 2205.953}],
{ {image_jpeg,cvt_ycbcr_row,4}, 352584,10879.749, 2500.186}, %
[{{image_jpeg,append_rgb,4}, 313408, 8368.343, 5054.613},
{suspend, 300, 11.220, 0.000},
{{image_jpeg,cvt_ycbcr_row,4}, 313408, 0.000, 2205.953}]}.

{[{{image_jpeg,cvt_ycbcr_row,4}, 313408, 8368.343, 5054.613}],
{ {image_jpeg,append_rgb,4}, 313408, 8368.343, 5054.613}, %
[{{image_jpeg,clamp,1}, 940224, 3250.580, 3250.580},
{garbage_collect, 6, 49.608, 49.608},
{suspend, 486, 13.542, 0.000}]}.

{[{{lists,reverse,1}, 1905716, 7519.257, 7519.257},
{{lists,split,3}, 64, 0.482, 0.482},
{{prim_file,reverse,1}, 2, 0.004, 0.004}],
{ {lists,reverse,2}, 1905782, 7519.743, 7519.743}, %
[ ]}.

{[{{image_jpeg,read_block,5}, 14691, 6090.760, 1072.763},
{{image_jpeg,dequantize,2}, 940224, 0.000, 4952.292}],
{ {image_jpeg,dequantize,2}, 954915, 6090.760, 6025.055}, %
[{garbage_collect, 17, 50.737, 50.737},
{suspend, 433, 14.968, 0.000},
{{image_jpeg,dequantize,2}, 940224, 0.000, 4952.292}]}.

{[{{image_jpeg,decode_block_ac,4}, 283081, 5209.754, 2462.909},
{{image_jpeg,decode_block,3}, 14691, 360.136, 186.084}],
{ {image_jpeg,jfd_read_bits,2}, 297772, 5569.890, 2648.993}, %
[{{image_jpeg,jfd_load_bits,2}, 107817, 1952.009, 397.376},
{{erlang,setelement,3}, 297772, 890.424, 890.424},
{garbage_collect, 29, 74.758, 74.758},
{suspend, 59, 3.706, 0.000}]}.

{[{{image_jpeg,jfd_decode_bits_,4}, 147135, 2627.670, 557.302},
{{image_jpeg,jfd_read_bits,2}, 107817, 1952.009, 397.376}],
{ {image_jpeg,jfd_load_bits,2}, 254952, 4579.679, 954.678}, %
[{{image_jpeg,jfd_load_bits_,4}, 254952, 3622.614, 1572.034},
{suspend, 119, 2.387, 0.000}]}.

{[{{image_jpeg,jfd_load_bits,2}, 254952, 3622.614, 1572.034},
{{image_jpeg,jfd_load_bits_,4}, 259190, 0.000, 924.415}],
{ {image_jpeg,jfd_load_bits_,4}, 514142, 3622.614, 2496.449}, %
[{{image_jpeg,jfd_load_bytes,2}, 3979, 1001.408, 70.893},
{garbage_collect, 23, 100.188, 100.188},
{suspend, 129, 13.240, 0.000},
{{erlang,setelement,3}, 3979, 11.329, 11.329},
{{image_jpeg,jfd_load_bits_,4}, 259190, 0.000, 924.415}]}.

{[{{image_jpeg,append_rgb,4}, 940224, 3250.580, 3250.580}],
{ {image_jpeg,clamp,1}, 940224, 3250.580, 3250.580}, %
[ ]}.

{[{{epx_dct,mcolumn,4}, 492, 2012.419, 2012.419},
{{lists,reverse,1}, 190, 567.697, 567.697},
{{image_jpeg,jfd_load_bits_,4}, 23, 100.188, 100.188},
{{image_jpeg,decode_block_ac,4}, 5, 87.793, 87.793},
{{image_jpeg,jfd_read_bits,2}, 29, 74.758, 74.758},
{{image_jpeg,jfd_decode_bits_,4}, 40, 60.791, 60.791},
{{image_jpeg,dequantize,2}, 17, 50.737, 50.737},
{{image_jpeg,append_rgb,4}, 6, 49.608, 49.608},
{{image_jpeg,rzigzag,1}, 6, 8.233, 8.233},
{{image_jpeg,category_decode,2}, 4, 1.411, 1.411},
{{image_jpeg,decode_eob,3}, 3, 0.998, 0.998},
{{prim_file,drv_get_response,1}, 1, 0.872, 0.872},
{{image_jpeg,jfd_decode_bits,2}, 2, 0.856, 0.856},
{{epx_dct,mcolumns,2}, 1, 0.458, 0.458},
{{epx_huffman,dht_level_,1}, 7, 0.382, 0.382},
{{epx_huffman,build_decoder,3}, 6, 0.336, 0.336},
{{image_jpeg,read_block,5}, 1, 0.172, 0.172},
{{io,bc_req,3}, 5, 0.126, 0.126},
{{io,io_request,2}, 5, 0.070, 0.070},
{{io,o_request,3}, 4, 0.067, 0.067},
{{epx_dct,inverse_8x8_1,1}, 1, 0.064, 0.064},
{{io,wait_io_mon_reply,2}, 2, 0.047, 0.047},
{{io_lib,write,2}, 2, 0.038, 0.038},
{{image_jpeg,collect_tiff,3}, 2, 0.028, 0.028},
{{io_lib_format,precision,2}, 1, 0.020, 0.020},
{{image_tiff,read_entry,2}, 1, 0.020, 0.020},
{{prim_file,position,2}, 1, 0.017, 0.017},
{{io,format,2}, 1, 0.015, 0.015},
{{ram_file,ll_open,3}, 1, 0.012, 0.012},
{{io_lib_format,collect_cseq,2}, 1, 0.012, 0.012},
{{image_jpeg,emit_ht,2}, 1, 0.012, 0.012},
{{io_lib_format,field_value,2}, 1, 0.011, 0.011},
{{io,request,2}, 1, 0.010, 0.010}],
{ garbage_collect, 863, 3018.278, 3018.278}, %
[ ]}.

{[{{image_jpeg,jfd_decode_bits_,4}, 458087, 1357.046, 1357.046},
{{image_jpeg,jfd_read_bits,2}, 297772, 890.424, 890.424},
{{image_jpeg,jfd_load_bytes,2}, 3989, 13.425, 13.425},
{{image_jpeg,jfd_load_bits_,4}, 3979, 11.329, 11.329},
{{image_jpeg,jfd_byte_align,1}, 127, 0.463, 0.463},
{{image_jpeg,jfd_read_bytes,2}, 126, 0.426, 0.426},
{{image_jpeg,collect_tiff,3}, 12, 0.069, 0.069},
{{erl_img,set_attribute,3}, 10, 0.041, 0.041},
{{image_jpeg,read_sos,3}, 1, 0.003, 0.003},
{{image_jpeg,process_sofn,3}, 1, 0.003, 0.003},
{{erl_img,magic_info,1}, 1, 0.003, 0.003},
{{erl_img,read_file_info,1}, 1, 0.002, 0.002}],
{ {erlang,setelement,3}, 764106, 2273.234, 2273.234}, %
[ ]}.

{[{{image_jpeg,decode_block_ac,4}, 12623, 2187.547, 55.596},
{{image_jpeg,decode_eob,3}, 523712, 0.000, 1958.319}],
{ {image_jpeg,decode_eob,3}, 536335, 2187.547, 2013.915}, %
[{{lists,reverse,1}, 12623, 161.318, 91.561},
{suspend, 351, 11.316, 0.000},
{garbage_collect, 3, 0.998, 0.998},
{{image_jpeg,decode_eob,3}, 523712, 0.000, 1958.319}]}.

{[{{image_jpeg,decode_block_ac,4}, 283638, 1280.939, 862.792},
{{image_jpeg,cat_zeros,2}, 118740, 0.000, 417.333}],
{ {image_jpeg,cat_zeros,2}, 402378, 1280.939, 1280.125}, %
[{suspend, 49, 0.814, 0.000},
{{image_jpeg,cat_zeros,2}, 118740, 0.000, 417.333}]}.

{[{{image_jpeg,decode_block_ac,4}, 283081, 1040.948, 1039.537},
{{image_jpeg,decode_block,3}, 14691, 68.510, 68.510}],
{ {image_jpeg,category_decode,2}, 297772, 1109.458, 1108.047}, %
[{garbage_collect, 4, 1.411, 1.411}]}.

{[{{image_jpeg,jfd_load_bits_,4}, 3979, 1001.408, 70.893},
{{image_jpeg,jfd_read_bytes,2}, 10, 2.340, 0.257}],
{ {image_jpeg,jfd_load_bytes,2}, 3989, 1003.748, 71.150}, %
[{{file,read,2}, 3989, 919.158, 29.633},
{{erlang,setelement,3}, 3989, 13.425, 13.425},
{suspend, 1, 0.015, 0.000}]}.

{[{{image_jpeg,jfd_load_bytes,2}, 3989, 919.158, 29.633},
{{image_tiff,read_entry,2}, 16, 0.588, 0.052},
{{erl_img,read_magic_info,1}, 1, 0.152, 0.005},
{{image_tiff,read_u32,2}, 3, 0.131, 0.010},
{{image_tiff,read_u16,2}, 3, 0.101, 0.010},
{{image_tiff,scan_fd,3}, 1, 0.038, 0.004}],
{ {file,read,2}, 4013, 920.168, 29.714}, %
[{{prim_file,read,2}, 3990, 889.664, 46.571},
{{ram_file,read,2}, 23, 0.782, 0.137},
{suspend, 1, 0.008, 0.000}]}.

{[{{file,read,2}, 3990, 889.664, 46.571}],
{ {prim_file,read,2}, 3990, 889.664, 46.571}, %
[{{prim_file,drv_command,2}, 3990, 843.093, 15.575}]}.

{[{{prim_file,drv_get_response,1}, 3988, 301.467, 0.000},
{{epx_dct,mcolumn,4}, 7541, 242.862, 0.000},
{{epx_dct,mcolumns,2}, 2454, 78.859, 0.000},
{{io,wait_io_mon_reply,2}, 752, 77.236, 0.000},
{{image_jpeg,decode_block_ac,4}, 947, 33.127, 0.000},
{{image_jpeg,jfd_decode_bits_,4}, 818, 28.615, 0.000},
{{image_jpeg,dequantize,2}, 433, 14.968, 0.000},
{{image_jpeg,append_rgb,4}, 486, 13.542, 0.000},
{{image_jpeg,jfd_load_bits_,4}, 129, 13.240, 0.000},
{{image_jpeg,jfd_decode_bits_,3}, 127, 12.645, 0.000},
{{image_jpeg,decode_eob,3}, 351, 11.316, 0.000},
{{image_jpeg,cvt_ycbcr_row,4}, 300, 11.220, 0.000},
{{epx_dct,multiply,2}, 193, 7.093, 0.000},
{{image_jpeg,jfd_read_bits,2}, 59, 3.706, 0.000},
{{image_jpeg,jfd_decode_bits,2}, 161, 3.158, 0.000},
{{image_jpeg,jfd_load_bits,2}, 119, 2.387, 0.000},
{{image_jpeg,read_block,5}, 53, 0.835, 0.000},
{{image_jpeg,cat_zeros,2}, 49, 0.814, 0.000},
{{image_jpeg,cvt_ycbcr,4}, 44, 0.759, 0.000},
{{image_jpeg,decode_block,3}, 52, 0.690, 0.000},
{{image_jpeg,read_mcu,5}, 32, 0.498, 0.000},
{{epx_dct,inverse_8x8_1,1}, 20, 0.233, 0.000},
{{gen,do_call,4}, 1, 0.203, 0.000},
{{prim_file,drv_command,4}, 11, 0.186, 0.000},
{{image_jpeg,read_mcu_w,6}, 12, 0.150, 0.000},
{{epx_dct,inverse_8x8,1}, 7, 0.108, 0.000},
{{io,execute_request,2}, 1, 0.095, 0.000},
{{epx_dct,dct_transposed_matrix,1}, 6, 0.065, 0.000},
{{epx_dct,dct_matrix,1}, 6, 0.063, 0.000},
{{prim_file,drv_get_response,2}, 1, 0.048, 0.000},
{{epx_huffman,build_decoder,3}, 4, 0.044, 0.000},
{{prim_file,drv_command,3}, 1, 0.016, 0.000},
{{image_jpeg,jfd_load_bytes,2}, 1, 0.015, 0.000},
{{file,read,2}, 1, 0.008, 0.000},
{{fprof,apply_start_stop,4}, 1, 0.000, 0.000}],
{ suspend, 19161, 860.271, 0.000}, %
[ ]}.

{[{{prim_file,read,2}, 3990, 843.093, 15.575},
{{prim_file,close,1}, 1, 0.272, 0.006},
{{prim_file,position,2}, 2, 0.195, 0.007},
{{prim_file,open_int,4}, 1, 0.152, 0.003}],
{ {prim_file,drv_command,2}, 3994, 843.712, 15.591}, %
[{{prim_file,drv_command,3}, 3994, 828.121, 15.857}]}.

{[{{prim_file,drv_command,2}, 3994, 828.121, 15.857}],
{ {prim_file,drv_command,3}, 3994, 828.121, 15.857}, %
[{{prim_file,drv_command,4}, 3994, 812.246, 52.920},
{suspend, 1, 0.016, 0.000},
{{erlang,iolist_size,1}, 1, 0.002, 0.002}]}.

{[{{prim_file,drv_command,3}, 3994, 812.246, 52.920}],
{ {prim_file,drv_command,4}, 3994, 812.246, 52.920}, %
[{{prim_file,drv_get_response,2}, 3994, 528.356, 19.491},
{{erlang,port_command,2}, 3994, 230.784, 39.703},
{suspend, 11, 0.186, 0.000}]}.

{[{{prim_file,drv_command,4}, 3994, 528.356, 19.491}],
{ {prim_file,drv_get_response,2}, 3994, 528.356, 19.491}, %
[{{prim_file,drv_get_response,1}, 3994, 508.817, 85.826},
{suspend, 1, 0.048, 0.000}]}.

{[{{prim_file,drv_get_response,2}, 3994, 508.817, 85.826}],
{ {prim_file,drv_get_response,1}, 3994, 508.817, 85.826}, %
[{suspend, 3988, 301.467, 0.000},
{{prim_file,translate_response,2}, 3994, 106.097, 32.532},
{{erlang,bump_reductions,1}, 3994, 14.555, 14.555},
{garbage_collect, 1, 0.872, 0.872}]}.

{[{{prim_file,drv_command,4}, 3994, 230.784, 39.703},
{{ram_file,call_port,2}, 65, 0.633, 0.311}],
{ {erlang,port_command,2}, 4059, 231.417, 40.014}, %
[{{erts_internal,port_command,3}, 4059, 191.403, 191.403}]}.

{[{{erlang,port_command,2}, 4059, 191.403, 191.403}],
{ {erts_internal,port_command,3}, 4059, 191.403, 191.403}, %
[ ]}.

{[{{image_jpeg,emit_ht,2}, 348, 49.889, 3.199},
{{image_jpeg,read_rst,4}, 82, 25.893, 0.682},
{{image_jpeg,jfd_byte_align,1}, 127, 21.930, 1.066},
{{io,format,1}, 1, 20.882, 0.005},
{{image_jpeg,emit_es,3}, 128, 16.413, 0.842},
{{image_jpeg,emit_fields,3}, 12, 2.653, 0.142},
{{image_jpeg,collect_tiff,3}, 13, 2.508, 0.061},
{{image_jpeg,read_segments,2}, 11, 1.378, 0.093},
{{image_jpeg,process_sofn_component,3}, 3, 0.731, 0.037},
{{image_jpeg,decode_dht,2}, 4, 0.728, 0.021},
{{image_jpeg,emit_8x8,2}, 4, 0.557, 0.024},
{{image_jpeg,collect_exif,3}, 3, 0.489, 0.013},
{{image_jpeg,component_vh,4}, 3, 0.433, 0.021},
{{image_jpeg,'-init_sos/2-fun-0-',2}, 3, 0.395, 0.015},
{{image_jpeg,init_sos,2}, 2, 0.278, 0.013},
{{image_jpeg,decode_dqt,6}, 2, 0.277, 0.010},
{{image_jpeg,emit_record,2}, 2, 0.274, 0.018},
{{image_jpeg,decode_dqt,2}, 2, 0.262, 0.010},
{{image_jpeg,process_sofn,3}, 1, 0.258, 0.022},
{{image_jpeg,read_sos,3}, 1, 0.196, 0.006},
{{image_jpeg,'-read_segments/2-fun-7-',2}, 1, 0.135, 0.009}],
{ {io,format,2}, 753, 146.559, 6.309}, %
[{{io,format,3}, 753, 132.689, 3.127},
{{io,default_output,0}, 753, 7.546, 5.167},
{garbage_collect, 1, 0.015, 0.015}]}.

{[{{epx_dct,inverse_8x8_1,1}, 14691, 134.301, 59.248}],
{ {epx_dct,dct_matrix,1}, 14691, 134.301, 59.248}, %
[{{epx_dct,dct_matrix_8,0}, 14691, 74.990, 74.990},
{suspend, 6, 0.063, 0.000}]}.

{[{{io,format,2}, 753, 132.689, 3.127}],
{ {io,format,3}, 753, 132.689, 3.127}, %
[{{io,o_request,3}, 753, 129.562, 4.852}]}.

{[{{io,format,3}, 753, 129.562, 4.852}],
{ {io,o_request,3}, 753, 129.562, 4.852}, %
[{{io,request,2}, 753, 124.643, 5.255},
{garbage_collect, 4, 0.067, 0.067}]}.

{[{{io,o_request,3}, 753, 124.643, 5.255}],
{ {io,request,2}, 753, 124.643, 5.255}, %
[{{io,execute_request,2}, 753, 109.693, 8.443},
{{io,io_request,2}, 753, 9.685, 3.164},
{garbage_collect, 1, 0.010, 0.010}]}.

{[{{io,request,2}, 753, 109.693, 8.443}],
{ {io,execute_request,2}, 753, 109.693, 8.443}, %
[{{io,wait_io_mon_reply,2}, 753, 97.407, 14.591},
{{erlang,monitor,2}, 753, 3.748, 3.748},
{suspend, 1, 0.095, 0.000}]}.

{[{{prim_file,drv_get_response,1}, 3994, 106.097, 32.532}],
{ {prim_file,translate_response,2}, 3994, 106.097, 32.532}, %
[{{prim_file,get_uint64,1}, 3993, 73.565, 42.426}]}.

{[{{image_jpeg,read_block,5}, 14691, 101.606, 93.373}],
{ {image_jpeg,rzigzag,1}, 14691, 101.606, 93.373}, %
[{garbage_collect, 6, 8.233, 8.233}]}.

{[{{io,execute_request,2}, 753, 97.407, 14.591}],
{ {io,wait_io_mon_reply,2}, 753, 97.407, 14.591}, %
[{suspend, 752, 77.236, 0.000},
{{erlang,demonitor,2}, 753, 5.533, 5.533},
{garbage_collect, 2, 0.047, 0.047}]}.

{[{{image_jpeg,segment,3}, 1, 92.862, 0.007}],
{ {image_jpeg,'-read_segments/2-fun-5-',2}, 1, 92.862, 0.007}, %
[{{image_jpeg,decode_dht,2}, 1, 92.855, 0.023}]}.

{[{{image_jpeg,'-read_segments/2-fun-5-',2}, 1, 92.855, 0.023},
{{image_jpeg,decode_dht,2}, 4, 0.000, 0.085}],
{ {image_jpeg,decode_dht,2}, 5, 92.855, 0.108}, %
[{{image_jpeg,emit_dht,1}, 4, 63.556, 0.023},
{{epx_huffman,decode_dht,1}, 4, 28.353, 0.019},
{{io,format,2}, 4, 0.728, 0.021},
{{erl_img,set_attribute,3}, 4, 0.110, 0.061},
{{image_jpeg,decode_dht,2}, 4, 0.000, 0.085}]}.

{[{{epx_dct,inverse_8x8_1,1}, 14691, 89.793, 51.633}],
{ {epx_dct,dct_transposed_matrix,1}, 14691, 89.793, 51.633}, %
[{{epx_dct,dct_transposed_matrix_8,0}, 14691, 38.095, 38.095},
{suspend, 6, 0.065, 0.000}]}.

{[{{epx_dct,dct_matrix,1}, 14691, 74.990, 74.990}],
{ {epx_dct,dct_matrix_8,0}, 14691, 74.990, 74.990}, %
[ ]}.

{[{{prim_file,translate_response,2}, 3993, 73.565, 42.426}],
{ {prim_file,get_uint64,1}, 3993, 73.565, 42.426}, %
[{{prim_file,get_uint32,1}, 7986, 31.139, 31.139}]}.

{[{{image_jpeg,read_mcu_w,6}, 4897, 69.463, 20.880}],
{ {image_jpeg,read_rst,4}, 4897, 69.463, 20.880}, %
[{{io,format,2}, 82, 25.893, 0.682},
{{image_jpeg,sync,2}, 82, 20.921, 0.753},
{{lists,duplicate,2}, 82, 1.769, 0.434}]}.

{[{{image_jpeg,decode_dht,2}, 4, 63.556, 0.023}],
{ {image_jpeg,emit_dht,1}, 4, 63.556, 0.023}, %
[{{image_jpeg,emit_ht,2}, 4, 63.533, 0.165}]}.

{[{{image_jpeg,emit_dht,1}, 4, 63.533, 0.165},
{{image_jpeg,emit_ht,2}, 696, 0.000, 7.846}],
{ {image_jpeg,emit_ht,2}, 700, 63.533, 8.011}, %
[{{io,format,2}, 348, 49.889, 3.199},
{{lists,reverse,1}, 348, 5.621, 3.918},
{garbage_collect, 1, 0.012, 0.012},
{{image_jpeg,emit_ht,2}, 696, 0.000, 7.846}]}.

{[{{epx_dct,dct_transposed_matrix,1}, 14691, 38.095, 38.095}],
{ {epx_dct,dct_transposed_matrix_8,0}, 14691, 38.095, 38.095}, %
[ ]}.

{[{{image_jpeg,segment,3}, 1, 33.354, 0.003}],
{ {image_jpeg,'-read_segments/2-fun-6-',2}, 1, 33.354, 0.003}, %
[{{image_jpeg,decode_dqt,2}, 1, 33.351, 0.006}]}.

{[{{image_jpeg,'-read_segments/2-fun-6-',2}, 1, 33.351, 0.006},
{{image_jpeg,decode_dqt,6}, 2, 0.000, 0.014}],
{ {image_jpeg,decode_dqt,2}, 3, 33.351, 0.020}, %
[{{image_jpeg,decode_dqt,6}, 2, 33.219, 0.008},
{{io,format,2}, 2, 0.262, 0.010}]}.

{[{{image_jpeg,decode_dqt,2}, 2, 33.219, 0.008},
{{image_jpeg,decode_dqt,6}, 128, 0.000, 0.375}],
{ {image_jpeg,decode_dqt,6}, 130, 33.219, 0.383}, %
[{{image_jpeg,emit_8x8,1}, 2, 32.346, 0.007},
{{io,format,2}, 2, 0.277, 0.010},
{{erl_img,set_attribute,3}, 2, 0.044, 0.025},
{{lists,reverse,1}, 2, 0.019, 0.013},
{{image_jpeg,decode_dqt,6}, 128, 0.000, 0.375},
{{image_jpeg,decode_dqt,2}, 2, 0.000, 0.014}]}.

{[{{image_jpeg,decode_dqt,6}, 2, 32.346, 0.007}],
{ {image_jpeg,emit_8x8,1}, 2, 32.346, 0.007}, %
[{{image_jpeg,emit_8x8,2}, 2, 32.339, 0.045}]}.

{[{{image_jpeg,emit_8x8,1}, 2, 32.339, 0.045}],
{ {image_jpeg,emit_8x8,2}, 2, 32.339, 0.045}, %
[{{image_jpeg,emit_es,3}, 2, 18.448, 0.020},
{{lists,map,2}, 4, 13.017, 0.673},
{{io,format,2}, 4, 0.557, 0.024},
{{lists,max,1}, 2, 0.262, 0.006},
{{erlang,integer_to_list,1}, 2, 0.005, 0.005},
{{erlang,'++',2}, 2, 0.005, 0.005}]}.

{[{{prim_file,get_uint64,1}, 7986, 31.139, 31.139}],
{ {prim_file,get_uint32,1}, 7986, 31.139, 31.139}, %
[ ]}.

{[{{image_jpeg,sync,2}, 82, 20.168, 1.384},
{{image_jpeg,segment,3}, 20, 3.954, 0.265},
{{image_jpeg,jfd_skip,1}, 11, 1.951, 0.139},
{{image_jpeg,jfd_skip2,1}, 11, 1.794, 0.127},
{{image_jpeg,read_info,1}, 1, 0.439, 0.022},
{{image_jpeg,read_segments,2}, 2, 0.376, 0.035}],
{ {image_jpeg,jfd_read_bytes,2}, 127, 28.682, 1.972}, %
[{{image_jpeg,jfd_byte_align,1}, 127, 23.944, 1.551},
{{image_jpeg,jfd_load_bytes,2}, 10, 2.340, 0.257},
{{erlang,setelement,3}, 126, 0.426, 0.426}]}.

{[{{image_jpeg,decode_dht,2}, 4, 28.353, 0.019}],
{ {epx_huffman,decode_dht,1}, 4, 28.353, 0.019}, %
[{{epx_huffman,dec_dht,4}, 4, 28.334, 0.043}]}.

{[{{epx_huffman,decode_dht,1}, 4, 28.334, 0.043},
{{epx_huffman,dht_codes,5}, 64, 0.000, 0.421}],
{ {epx_huffman,dec_dht,4}, 68, 28.334, 0.464}, %
[{{epx_huffman,dht_codes,5}, 64, 28.238, 0.237},
{{epx_huffman,build_decoder,1}, 4, 14.674, 0.011},
{{epx_huffman,dht_level,1}, 64, 7.192, 0.153},
{{lists,split,2}, 64, 1.726, 0.266},
{{lists,reverse,1}, 4, 0.032, 0.016}]}.

{[{{epx_huffman,dec_dht,4}, 64, 28.238, 0.237},
{{epx_huffman,dht_codes,5}, 348, 0.000, 1.888}],
{ {epx_huffman,dht_codes,5}, 412, 28.238, 2.125}, %
[{{lists,reverse,1}, 348, 2.121, 1.277},
{{epx_huffman,dht_codes,5}, 348, 0.000, 1.888},
{{epx_huffman,dec_dht,4}, 64, 0.000, 0.421}]}.

{[{{image_jpeg,jfd_read_bytes,2}, 127, 23.944, 1.551}],
{ {image_jpeg,jfd_byte_align,1}, 127, 23.944, 1.551}, %
[{{io,format,2}, 127, 21.930, 1.066},
{{erlang,setelement,3}, 127, 0.463, 0.463}]}.

{[{{image_jpeg,read_rst,4}, 82, 20.921, 0.753}],
{ {image_jpeg,sync,2}, 82, 20.921, 0.753}, %
[{{image_jpeg,jfd_read_bytes,2}, 82, 20.168, 1.384}]}.

{[{{image_jpeg,segment,3}, 1, 20.885, 0.003}],
{ {io,format,1}, 1, 20.885, 0.003}, %
[{{io,format,2}, 1, 20.882, 0.005}]}.

{[{{image_jpeg,emit_8x8,2}, 2, 18.448, 0.020},
{{image_jpeg,emit_es,3}, 126, 0.000, 1.681}],
{ {image_jpeg,emit_es,3}, 128, 18.448, 1.701}, %
[{{io,format,2}, 128, 16.413, 0.842},
{{erlang,'++',2}, 126, 0.334, 0.334},
{{image_jpeg,emit_es,3}, 126, 0.000, 1.681}]}.

{[{{epx_huffman,dec_dht,4}, 4, 14.674, 0.011},
{{epx_huffman,build_decoder,3}, 696, 0.000, 1.447}],
{ {epx_huffman,build_decoder,1}, 700, 14.674, 1.458}, %
[{{epx_huffman,build_decoder,3}, 348, 14.663, 0.798}]}.

{[{{epx_huffman,build_decoder,1}, 348, 14.663, 0.798},
{{epx_huffman,build_decoder,3}, 4682, 0.000, 12.038}],
{ {epx_huffman,build_decoder,3}, 5030, 14.663, 12.836}, %
[{garbage_collect, 6, 0.336, 0.336},
{suspend, 4, 0.044, 0.000},
{{epx_huffman,build_decoder,3}, 4682, 0.000, 12.038},
{{epx_huffman,build_decoder,1}, 696, 0.000, 1.447}]}.

{[{{prim_file,drv_get_response,1}, 3994, 14.555, 14.555}],
{ {erlang,bump_reductions,1}, 3994, 14.555, 14.555}, %
[ ]}.

{[{{image_jpeg,emit_8x8,2}, 4, 13.017, 0.673},
{{image_jpeg,init_sos,2}, 1, 0.624, 0.029},
{{lists,map,2}, 259, 0.000, 1.080}],
{ {lists,map,2}, 264, 13.641, 1.782}, %
[{{image_jpeg,'-emit_8x8/2-fun-0-',2}, 128, 10.588, 0.317},
{{image_jpeg,'-emit_8x8/2-fun-1-',1}, 128, 0.699, 0.475},
{{image_jpeg,'-init_sos/2-fun-0-',2}, 3, 0.572, 0.070},
{{lists,map,2}, 259, 0.000, 1.080}]}.

{[{{lists,map,2}, 128, 10.588, 0.317}],
{ {image_jpeg,'-emit_8x8/2-fun-0-',2}, 128, 10.588, 0.317}, %
[{{io_lib,format,2}, 128, 10.271, 0.483}]}.

{[{{image_jpeg,'-emit_8x8/2-fun-0-',2}, 128, 10.271, 0.483}],
{ {io_lib,format,2}, 128, 10.271, 0.483}, %
[{{io_lib_format,fwrite,2}, 128, 9.788, 0.947}]}.

{[{{io_lib,format,2}, 128, 9.788, 0.947}],
{ {io_lib_format,fwrite,2}, 128, 9.788, 0.947}, %
[{{io_lib_format,collect,2}, 128, 4.939, 0.730},
{{io_lib_format,build,3}, 128, 3.083, 1.007},
{{io_lib_format,pcount,1}, 128, 0.819, 0.305}]}.

{[{{io,request,2}, 753, 9.685, 3.164}],
{ {io,io_request,2}, 753, 9.685, 3.164}, %
[{{io,bc_req,3}, 753, 6.451, 4.413},
{garbage_collect, 5, 0.070, 0.070}]}.

{[{{image_jpeg,cvt_rgb_h,4}, 83, 8.019, 0.477}],
{ {image_jpeg,forfold,5}, 83, 8.019, 0.477}, %
[{{image_jpeg,forfold_dec,5}, 83, 7.542, 0.761}]}.

{[{{io,format,2}, 753, 7.546, 5.167}],
{ {io,default_output,0}, 753, 7.546, 5.167}, %
[{{erlang,group_leader,0}, 753, 2.379, 2.379}]}.

{[{{image_jpeg,forfold,5}, 83, 7.542, 0.761},
{{image_jpeg,forfold_dec,5}, 664, 0.000, 4.695}],
{ {image_jpeg,forfold_dec,5}, 747, 7.542, 5.456}, %
[{{image_jpeg,'-cvt_rgb_h/4-fun-0-',2}, 664, 2.086, 2.086},
{{image_jpeg,forfold_dec,5}, 664, 0.000, 4.695}]}.

{[{{image_jpeg,segment,3}, 2, 7.214, 0.006}],
{ {image_jpeg,'-read_segments/2-fun-2-',2}, 2, 7.214, 0.006}, %
[{{image_jpeg,process_exif,2}, 1, 7.208, 0.005}]}.

{[{{image_jpeg,'-read_segments/2-fun-2-',2}, 1, 7.208, 0.005}],
{ {image_jpeg,process_exif,2}, 1, 7.208, 0.005}, %
[{{image_tiff,scan_binary,3}, 1, 7.203, 0.011}]}.

{[{{image_jpeg,process_exif,2}, 1, 7.203, 0.011}],
{ {image_tiff,scan_binary,3}, 1, 7.203, 0.011}, %
[{{image_tiff,scan_fd,3}, 1, 7.008, 0.006},
{{file,open,2}, 1, 0.146, 0.012},
{{file,close,1}, 1, 0.038, 0.004}]}.

{[{{epx_huffman,dec_dht,4}, 64, 7.192, 0.153}],
{ {epx_huffman,dht_level,1}, 64, 7.192, 0.153}, %
[{{epx_huffman,dht_level_,1}, 60, 7.039, 1.431}]}.

{[{{epx_huffman,dht_level,1}, 60, 7.039, 1.431},
{{epx_huffman,dht_level_,1}, 1878, 0.000, 5.226}],
{ {epx_huffman,dht_level_,1}, 1938, 7.039, 6.657}, %
[{garbage_collect, 7, 0.382, 0.382},
{{epx_huffman,dht_level_,1}, 1878, 0.000, 5.226}]}.

{[{{image_tiff,scan_binary,3}, 1, 7.008, 0.006}],
{ {image_tiff,scan_fd,3}, 1, 7.008, 0.006}, %
[{{image_tiff,scan_ifd,6}, 1, 6.964, 0.008},
{{file,read,2}, 1, 0.038, 0.004}]}.

{[{{image_tiff,scan_fd,3}, 1, 6.964, 0.008},
{{image_tiff,scan_entries,6}, 3, 0.000, 0.014},
{{image_jpeg,collect_tiff,3}, 1, 0.000, 0.010}],
{ {image_tiff,scan_ifd,6}, 5, 6.964, 0.032}, %
[{{image_tiff,scan_entries,6}, 3, 6.851, 0.055},
{{file,position,2}, 3, 0.154, 0.010},
{{image_tiff,read_u16,2}, 3, 0.119, 0.018}]}.

{[{{image_tiff,scan_ifd,6}, 3, 6.851, 0.055},
{{image_tiff,scan_entries,6}, 16, 0.000, 0.278}],
{ {image_tiff,scan_entries,6}, 19, 6.851, 0.333}, %
[{{image_jpeg,'-process_exif/2-fun-0-',3}, 13, 4.212, 0.032},
{{file,position,2}, 32, 1.310, 0.105},
{{image_tiff,read_entry,2}, 16, 0.781, 0.138},
{{image_jpeg,'-collect_tiff/3-fun-0-',3}, 3, 0.526, 0.008},
{{image_tiff,decode_offs_value,5}, 6, 0.438, 0.053},
{{image_tiff,read_u32,2}, 3, 0.149, 0.018},
{{image_tiff,decode_value,4}, 10, 0.068, 0.050},
{{image_tiff,is_value,2}, 16, 0.033, 0.033},
{{image_tiff,scan_ifd,6}, 3, 0.000, 0.014},
{{image_tiff,scan_entries,6}, 16, 0.000, 0.278}]}.

{[{{io,io_request,2}, 753, 6.451, 4.413}],
{ {io,bc_req,3}, 753, 6.451, 4.413}, %
[{{net_kernel,dflag_unicode_io,1}, 753, 1.912, 1.912},
{garbage_collect, 5, 0.126, 0.126}]}.

{[{{io,wait_io_mon_reply,2}, 753, 5.533, 5.533},
{{gen,do_call,4}, 1, 0.006, 0.006}],
{ {erlang,demonitor,2}, 754, 5.539, 5.539}, %
[ ]}.

{[{{io_lib_format,fwrite,2}, 128, 4.939, 0.730},
{{io_lib_format,collect,2}, 128, 0.000, 0.239}],
{ {io_lib_format,collect,2}, 256, 4.939, 0.969}, %
[{{io_lib_format,collect_cseq,2}, 128, 3.970, 1.709},
{{io_lib_format,collect,2}, 128, 0.000, 0.239}]}.

{[{{image_jpeg,read_segments,2}, 1, 4.706, 0.044}],
{ {image_jpeg,init_sos,2}, 1, 4.706, 0.044}, %
[{{image_jpeg,emit_record,2}, 1, 3.112, 0.020},
{{lists,map,2}, 1, 0.624, 0.029},
{{image_jpeg,component_vh,2}, 1, 0.611, 0.007},
{{io,format,2}, 2, 0.278, 0.013},
{{image_jpeg,'-init_sos/2-lc$^0/1-0-',1}, 1, 0.029, 0.013},
{{erl_img,attribute,3}, 1, 0.008, 0.005}]}.

{[{{image_tiff,scan_entries,6}, 13, 4.212, 0.032}],
{ {image_jpeg,'-process_exif/2-fun-0-',3}, 13, 4.212, 0.032}, %
[{{image_jpeg,collect_tiff,3}, 13, 4.180, 0.172}]}.

{[{{image_jpeg,'-process_exif/2-fun-0-',3}, 13, 4.180, 0.172}],
{ {image_jpeg,collect_tiff,3}, 13, 4.180, 0.172}, %
[{{io,format,2}, 13, 2.508, 0.061},
{{string,tokens,2}, 1, 0.173, 0.004},
{{erlang,setelement,3}, 12, 0.069, 0.069},
{{image_tiff,decode_tag,1}, 13, 0.028, 0.028},
{garbage_collect, 2, 0.028, 0.028},
{{erlang,list_to_integer,1}, 6, 0.011, 0.011},
{{image_tiff,scan_ifd,6}, 1, 0.000, 0.010}]}.

{[{{io_lib_format,collect,2}, 128, 3.970, 1.709}],
{ {io_lib_format,collect_cseq,2}, 128, 3.970, 1.709}, %
[{{io_lib_format,field_width,2}, 128, 1.019, 0.506},
{{io_lib_format,pad_char,2}, 128, 0.265, 0.265},
{{io_lib_format,precision,2}, 128, 0.264, 0.244},
{{io_lib_format,collect_cc,2}, 128, 0.250, 0.250},
{{io_lib_format,strings,2}, 128, 0.242, 0.242},
{{io_lib_format,encoding,2}, 128, 0.209, 0.209},
{garbage_collect, 1, 0.012, 0.012}]}.

{[{{image_jpeg,read_segments,2}, 11, 3.908, 0.084}],
{ {image_jpeg,jfd_skip,1}, 11, 3.908, 0.084}, %
[{{image_jpeg,jfd_read_bytes,2}, 11, 1.951, 0.139},
{{image_jpeg,jfd_skip2,1}, 11, 1.873, 0.079}]}.

{[{{io,execute_request,2}, 753, 3.748, 3.748},
{{gen,do_call,4}, 1, 0.005, 0.005}],
{ {erlang,monitor,2}, 754, 3.753, 3.753}, %
[ ]}.

{[{{image_jpeg,init_sos,2}, 1, 3.112, 0.020}],
{ {image_jpeg,emit_record,2}, 1, 3.112, 0.020}, %
[{{image_jpeg,emit_fields,3}, 1, 2.818, 0.013},
{{io,format,2}, 2, 0.274, 0.018}]}.

{[{{io_lib_format,fwrite,2}, 128, 3.083, 1.007},
{{io_lib_format,build,3}, 128, 0.000, 0.230}],
{ {io_lib_format,build,3}, 256, 3.083, 1.237}, %
[{{io_lib_format,control,9}, 128, 1.623, 0.573},
{{io_lib_format,decr_pc,2}, 128, 0.223, 0.223},
{{io_lib_format,build,3}, 128, 0.000, 0.230}]}.

{[{{image_jpeg,emit_record,2}, 1, 2.818, 0.013},
{{image_jpeg,emit_fields,3}, 11, 0.000, 0.152}],
{ {image_jpeg,emit_fields,3}, 12, 2.818, 0.165}, %
[{{io,format,2}, 12, 2.653, 0.142},
{{image_jpeg,emit_fields,3}, 11, 0.000, 0.152}]}.

{[{{io,default_output,0}, 753, 2.379, 2.379}],
{ {erlang,group_leader,0}, 753, 2.379, 2.379}, %
[ ]}.

{[{{image_jpeg,forfold_dec,5}, 664, 2.086, 2.086}],
{ {image_jpeg,'-cvt_rgb_h/4-fun-0-',2}, 664, 2.086, 2.086}, %
[ ]}.

{[{{io,bc_req,3}, 753, 1.912, 1.912}],
{ {net_kernel,dflag_unicode_io,1}, 753, 1.912, 1.912}, %
[ ]}.

{[{{image_jpeg,jfd_skip,1}, 11, 1.873, 0.079}],
{ {image_jpeg,jfd_skip2,1}, 11, 1.873, 0.079}, %
[{{image_jpeg,jfd_read_bytes,2}, 11, 1.794, 0.127}]}.

{[{{image_jpeg,read_rst,4}, 82, 1.769, 0.434},
{{image_jpeg,read_sos,3}, 1, 0.022, 0.005}],
{ {lists,duplicate,2}, 83, 1.791, 0.439}, %
[{{lists,duplicate,3}, 83, 1.352, 0.410}]}.

{[{{image_tiff,scan_entries,6}, 32, 1.310, 0.105},
{{erl_img,read_magic_info,1}, 1, 0.156, 0.005},
{{image_tiff,scan_ifd,6}, 3, 0.154, 0.010},
{{erl_img,read_info,2}, 1, 0.113, 0.004}],
{ {file,position,2}, 37, 1.733, 0.124}, %
[{{ram_file,position,2}, 35, 1.349, 0.276},
{{prim_file,position,2}, 2, 0.260, 0.036}]}.

{[{{ram_file,position,2}, 35, 0.895, 0.211},
{{ram_file,read,2}, 23, 0.645, 0.116},
{{ram_file,pread,3}, 6, 0.140, 0.029},
{{ram_file,ll_open,3}, 1, 0.048, 0.006},
{{ram_file,call_port,2}, 1, 0.000, 0.006}],
{ {ram_file,call_port,2}, 66, 1.728, 0.368}, %
[{{ram_file,get_response,1}, 65, 0.720, 0.203},
{{erlang,port_command,2}, 65, 0.633, 0.311},
{{erlang,iolist_to_binary,1}, 1, 0.007, 0.007},
{{ram_file,call_port,2}, 1, 0.000, 0.006}]}.

{[{{epx_huffman,dec_dht,4}, 64, 1.726, 0.266}],
{ {lists,split,2}, 64, 1.726, 0.266}, %
[{{lists,split,3}, 64, 1.460, 0.190}]}.

{[{{image_jpeg,decode_block_ac,4}, 557, 1.695, 1.695}],
{ {erlang,min,2}, 557, 1.695, 1.695}, %
[ ]}.

{[{{io_lib_format,build,3}, 128, 1.623, 0.573}],
{ {io_lib_format,control,9}, 128, 1.623, 0.573}, %
[{{io_lib,write,2}, 128, 0.825, 0.513},
{{io_lib_format,term,5}, 128, 0.225, 0.225}]}.

{[{{lists,split,2}, 64, 1.460, 0.190},
{{lists,split,3}, 348, 0.000, 0.788}],
{ {lists,split,3}, 412, 1.460, 0.978}, %
[{{lists,reverse,2}, 64, 0.482, 0.482},
{{lists,split,3}, 348, 0.000, 0.788}]}.

{[{{lists,duplicate,2}, 83, 1.352, 0.410},
{{lists,duplicate,3}, 249, 0.000, 0.942}],
{ {lists,duplicate,3}, 332, 1.352, 1.352}, %
[{{lists,duplicate,3}, 249, 0.000, 0.942}]}.

{[{{file,position,2}, 35, 1.349, 0.276}],
{ {ram_file,position,2}, 35, 1.349, 0.276}, %
[{{ram_file,call_port,2}, 35, 0.895, 0.211},
{{ram_file,lseek_position,1}, 35, 0.178, 0.092}]}.

{[{{image_jpeg,segment,3}, 1, 1.186, 0.006}],
{ {image_jpeg,'-read_segments/2-fun-3-',3}, 1, 1.186, 0.006}, %
[{{image_jpeg,process_sofn,3}, 1, 1.180, 0.025}]}.

{[{{image_jpeg,'-read_segments/2-fun-3-',3}, 1, 1.180, 0.025}],
{ {image_jpeg,process_sofn,3}, 1, 1.180, 0.025}, %
[{{image_jpeg,process_sofn_component,3}, 1, 0.894, 0.023},
{{io,format,2}, 1, 0.258, 0.022},
{{erlang,setelement,3}, 1, 0.003, 0.003}]}.

{[{{io_lib_format,collect_cseq,2}, 128, 1.019, 0.506}],
{ {io_lib_format,field_width,2}, 128, 1.019, 0.506}, %
[{{io_lib_format,field_value,2}, 128, 0.262, 0.251},
{{io_lib_format,field_width,3}, 128, 0.251, 0.251}]}.

{[{{image_jpeg,process_sofn,3}, 1, 0.894, 0.023},
{{image_jpeg,process_sofn_component,3}, 3, 0.000, 0.050}],
{ {image_jpeg,process_sofn_component,3}, 4, 0.894, 0.073}, %
[{{io,format,2}, 3, 0.731, 0.037},
{{erl_img,set_attribute,3}, 3, 0.076, 0.043},
{{image_jpeg,component_id,1}, 3, 0.014, 0.014},
{{image_jpeg,process_sofn_component,3}, 3, 0.000, 0.050}]}.

{[{{io_lib_format,control,9}, 128, 0.825, 0.513}],
{ {io_lib,write,2}, 128, 0.825, 0.513}, %
[{{erlang,integer_to_list,1}, 128, 0.274, 0.274},
{garbage_collect, 2, 0.038, 0.038}]}.

{[{{io_lib_format,fwrite,2}, 128, 0.819, 0.305}],
{ {io_lib_format,pcount,1}, 128, 0.819, 0.305}, %
[{{io_lib_format,pcount,2}, 128, 0.514, 0.287}]}.

{[{{file,read,2}, 23, 0.782, 0.137}],
{ {ram_file,read,2}, 23, 0.782, 0.137}, %
[{{ram_file,call_port,2}, 23, 0.645, 0.116}]}.

{[{{image_tiff,scan_entries,6}, 16, 0.781, 0.138}],
{ {image_tiff,read_entry,2}, 16, 0.781, 0.138}, %
[{{file,read,2}, 16, 0.588, 0.052},
{{image_tiff,decode_type,1}, 16, 0.035, 0.035},
{garbage_collect, 1, 0.020, 0.020}]}.

{[{{erl_img,magic_info,1}, 1, 0.578, 0.018},
{{image_tiff,scan_binary,3}, 1, 0.146, 0.012}],
{ {file,open,2}, 2, 0.724, 0.030}, %
[{{file,file_name,1}, 1, 0.281, 0.006},
{{prim_file,open,2}, 1, 0.250, 0.007},
{{ram_file,open,2}, 1, 0.122, 0.009},
{{file,check_args,1}, 2, 0.019, 0.005},
{{application,get_env,2}, 1, 0.015, 0.002},
{{lists,member,2}, 3, 0.007, 0.007}]}.

{[{{ram_file,call_port,2}, 65, 0.720, 0.203}],
{ {ram_file,get_response,1}, 65, 0.720, 0.203}, %
[{{ram_file,translate_response,2}, 65, 0.517, 0.290}]}.

{[{{lists,map,2}, 128, 0.699, 0.475}],
{ {image_jpeg,'-emit_8x8/2-fun-1-',1}, 128, 0.699, 0.475}, %
[{{erlang,iolist_size,1}, 128, 0.224, 0.224}]}.

{[{{image_jpeg,init_sos,2}, 1, 0.611, 0.007}],
{ {image_jpeg,component_vh,2}, 1, 0.611, 0.007}, %
[{{image_jpeg,component_vh,4}, 1, 0.604, 0.033}]}.

{[{{image_jpeg,component_vh,2}, 1, 0.604, 0.033},
{{image_jpeg,component_vh,4}, 3, 0.000, 0.054}],
{ {image_jpeg,component_vh,4}, 4, 0.604, 0.087}, %
[{{io,format,2}, 3, 0.433, 0.021},
{{erl_img,attribute,3}, 3, 0.058, 0.036},
{{erlang,max,2}, 6, 0.026, 0.026},
{{image_jpeg,component_vh,4}, 3, 0.000, 0.054}]}.

{[{{erl_img,read_file_info,1}, 1, 0.580, 0.007}],
{ {erl_img,file_info,2}, 1, 0.580, 0.007}, %
[{{file,read_file_info,1}, 1, 0.573, 0.007}]}.

{[{{erl_img,file_info,2}, 1, 0.573, 0.007}],
{ {file,read_file_info,1}, 1, 0.573, 0.007}, %
[{{file,check_and_call,2}, 1, 0.284, 0.006},
{{file,file_name,1}, 1, 0.282, 0.008}]}.

{[{{lists,map,2}, 3, 0.572, 0.070}],
{ {image_jpeg,'-init_sos/2-fun-0-',2}, 3, 0.572, 0.070}, %
[{{io,format,2}, 3, 0.395, 0.015},
{{erl_img,attribute,3}, 12, 0.107, 0.073}]}.

{[{{file,read_file_info,1}, 1, 0.282, 0.008},
{{file,open,2}, 1, 0.281, 0.006}],
{ {file,file_name,1}, 2, 0.563, 0.014}, %
[{{file,file_name_1,2}, 2, 0.543, 0.128},
{{file,native_name_encoding,0}, 2, 0.006, 0.006}]}.

{[{{file,file_name,1}, 2, 0.543, 0.128},
{{file,file_name_1,2}, 130, 0.000, 0.415}],
{ {file,file_name_1,2}, 132, 0.543, 0.543}, %
[{{file,file_name_1,2}, 130, 0.000, 0.415}]}.

{[{{image_tiff,scan_entries,6}, 3, 0.526, 0.008}],
{ {image_jpeg,'-collect_tiff/3-fun-0-',3}, 3, 0.526, 0.008}, %
[{{image_jpeg,collect_exif,3}, 3, 0.518, 0.023}]}.

{[{{image_jpeg,'-collect_tiff/3-fun-0-',3}, 3, 0.518, 0.023}],
{ {image_jpeg,collect_exif,3}, 3, 0.518, 0.023}, %
[{{io,format,2}, 3, 0.489, 0.013},
{{exif,decode_tag,1}, 3, 0.006, 0.006}]}.

{[{{ram_file,get_response,1}, 65, 0.517, 0.290}],
{ {ram_file,translate_response,2}, 65, 0.517, 0.290}, %
[{{ram_file,i32,4}, 65, 0.227, 0.227}]}.

{[{{io_lib_format,pcount,1}, 128, 0.514, 0.287},
{{io_lib_format,pcount,2}, 128, 0.000, 0.227}],
{ {io_lib_format,pcount,2}, 256, 0.514, 0.514}, %
[{{io_lib_format,pcount,2}, 128, 0.000, 0.227}]}.

{[{{erl_img,magic_info,1}, 1, 0.483, 0.013}],
{ {filename,basename,1}, 1, 0.483, 0.013}, %
[{{filename,flatten,1}, 1, 0.281, 0.003},
{{filename,basename1,3}, 1, 0.170, 0.003},
{{filename,separators,0}, 1, 0.017, 0.006},
{{filename,skip_prefix,2}, 1, 0.002, 0.002}]}.

{[{{image_tiff,scan_entries,6}, 6, 0.438, 0.053}],
{ {image_tiff,decode_offs_value,5}, 6, 0.438, 0.053}, %
[{{file,pread,3}, 6, 0.196, 0.021},
{{image_tiff,decode_value,4}, 6, 0.176, 0.032},
{{image_tiff,sizeof,1}, 6, 0.013, 0.013}]}.

{[{{erl_img,magic_info,1}, 1, 0.335, 0.010},
{{image_tiff,scan_binary,3}, 1, 0.038, 0.004}],
{ {file,close,1}, 2, 0.373, 0.014}, %
[{{prim_file,close,1}, 1, 0.325, 0.016},
{{ram_file,close,1}, 1, 0.034, 0.003}]}.

{[{{image_jpeg,emit_es,3}, 126, 0.334, 0.334},
{{image_jpeg,emit_8x8,2}, 2, 0.005, 0.005}],
{ {erlang,'++',2}, 128, 0.339, 0.339}, %
[ ]}.

{[{{file,close,1}, 1, 0.325, 0.016}],
{ {prim_file,close,1}, 1, 0.325, 0.016}, %
[{{prim_file,drv_command,2}, 1, 0.272, 0.006},
{{prim_file,drv_close,1}, 1, 0.037, 0.008}]}.

{[{{file,read_file_info,1}, 1, 0.284, 0.006}],
{ {file,check_and_call,2}, 1, 0.284, 0.006}, %
[{{file,call,2}, 1, 0.273, 0.008},
{{file,check_args,1}, 1, 0.005, 0.003}]}.

{[{{filename,basename,1}, 1, 0.281, 0.003}],
{ {filename,flatten,1}, 1, 0.281, 0.003}, %
[{{filename,do_flatten,2}, 1, 0.278, 0.049}]}.

{[{{io_lib,write,2}, 128, 0.274, 0.274},
{{image_jpeg,emit_8x8,2}, 2, 0.005, 0.005}],
{ {erlang,integer_to_list,1}, 130, 0.279, 0.279}, %
[ ]}.

{[{{filename,flatten,1}, 1, 0.278, 0.049},
{{filename,do_flatten,2}, 65, 0.000, 0.229}],
{ {filename,do_flatten,2}, 66, 0.278, 0.278}, %
[{{filename,do_flatten,2}, 65, 0.000, 0.229}]}.

{[{{file,check_and_call,2}, 1, 0.273, 0.008}],
{ {file,call,2}, 1, 0.273, 0.008}, %
[{{gen_server,call,3}, 1, 0.262, 0.007},
{{erlang,list_to_tuple,1}, 1, 0.003, 0.003}]}.

{[{{io_lib_format,collect_cseq,2}, 128, 0.265, 0.265}],
{ {io_lib_format,pad_char,2}, 128, 0.265, 0.265}, %
[ ]}.

{[{{io_lib_format,collect_cseq,2}, 128, 0.264, 0.244}],
{ {io_lib_format,precision,2}, 128, 0.264, 0.244}, %
[{garbage_collect, 1, 0.020, 0.020}]}.

{[{{image_jpeg,emit_8x8,2}, 2, 0.262, 0.006}],
{ {lists,max,1}, 2, 0.262, 0.006}, %
[{{lists,max,2}, 2, 0.256, 0.004}]}.

{[{{io_lib_format,field_width,2}, 128, 0.262, 0.251}],
{ {io_lib_format,field_value,2}, 128, 0.262, 0.251}, %
[{garbage_collect, 1, 0.011, 0.011}]}.

{[{{file,call,2}, 1, 0.262, 0.007}],
{ {gen_server,call,3}, 1, 0.262, 0.007}, %
[{{gen,call,4}, 1, 0.255, 0.007}]}.

{[{{file,position,2}, 2, 0.260, 0.036}],
{ {prim_file,position,2}, 2, 0.260, 0.036}, %
[{{prim_file,drv_command,2}, 2, 0.195, 0.007},
{garbage_collect, 1, 0.017, 0.017},
{{prim_file,lseek_position,1}, 2, 0.012, 0.006}]}.

{[{{image_jpeg,decode_dht,2}, 4, 0.110, 0.061},
{{image_jpeg,process_sofn_component,3}, 3, 0.076, 0.043},
{{image_jpeg,decode_dqt,6}, 2, 0.044, 0.025},
{{image_jpeg,'-read_segments/2-fun-7-',2}, 1, 0.028, 0.018}],
{ {erl_img,set_attribute,3}, 10, 0.258, 0.147}, %
[{{lists,keysearch,3}, 10, 0.070, 0.070},
{{erlang,setelement,3}, 10, 0.041, 0.041}]}.

{[{{lists,max,1}, 2, 0.256, 0.004},
{{lists,max,2}, 126, 0.000, 0.252}],
{ {lists,max,2}, 128, 0.256, 0.256}, %
[{{lists,max,2}, 126, 0.000, 0.252}]}.

{[{{gen_server,call,3}, 1, 0.255, 0.007}],
{ {gen,call,4}, 1, 0.255, 0.007}, %
[{{gen,do_call,4}, 1, 0.244, 0.023},
{{erlang,whereis,1}, 1, 0.004, 0.004}]}.

{[{{io_lib_format,field_width,2}, 128, 0.251, 0.251}],
{ {io_lib_format,field_width,3}, 128, 0.251, 0.251}, %
[ ]}.

{[{{file,open,2}, 1, 0.250, 0.007}],
{ {prim_file,open,2}, 1, 0.250, 0.007}, %
[{{prim_file,open_int,4}, 1, 0.211, 0.006},
{{prim_file,open_mode,1}, 1, 0.032, 0.005}]}.

{[{{io_lib_format,collect_cseq,2}, 128, 0.250, 0.250}],
{ {io_lib_format,collect_cc,2}, 128, 0.250, 0.250}, %
[ ]}.

{[{{image_tiff,decode_offs_value,5}, 6, 0.176, 0.032},
{{image_tiff,scan_entries,6}, 10, 0.068, 0.050},
{{image_tiff,decode_value,4}, 14, 0.000, 0.026}],
{ {image_tiff,decode_value,4}, 30, 0.244, 0.108}, %
[{{image_tiff,decode_strings,1}, 2, 0.132, 0.005},
{{erlang,binary_to_list,1}, 2, 0.004, 0.004},
{{image_tiff,decode_value,4}, 14, 0.000, 0.026}]}.

{[{{gen,call,4}, 1, 0.244, 0.023}],
{ {gen,do_call,4}, 1, 0.244, 0.023}, %
[{suspend, 1, 0.203, 0.000},
{{erlang,send,3}, 1, 0.007, 0.007},
{{erlang,demonitor,2}, 1, 0.006, 0.006},
{{erlang,monitor,2}, 1, 0.005, 0.005}]}.

{[{{io_lib_format,collect_cseq,2}, 128, 0.242, 0.242}],
{ {io_lib_format,strings,2}, 128, 0.242, 0.242}, %
[ ]}.

{[{{ram_file,translate_response,2}, 65, 0.227, 0.227}],
{ {ram_file,i32,4}, 65, 0.227, 0.227}, %
[ ]}.

{[{{image_jpeg,'-emit_8x8/2-fun-1-',1}, 128, 0.224, 0.224},
{{prim_file,drv_command,3}, 1, 0.002, 0.002}],
{ {erlang,iolist_size,1}, 129, 0.226, 0.226}, %
[ ]}.

{[{{io_lib_format,control,9}, 128, 0.225, 0.225}],
{ {io_lib_format,term,5}, 128, 0.225, 0.225}, %
[ ]}.

{[{{io_lib_format,build,3}, 128, 0.223, 0.223}],
{ {io_lib_format,decr_pc,2}, 128, 0.223, 0.223}, %
[ ]}.

{[{{prim_file,open,2}, 1, 0.211, 0.006},
{{prim_file,open_int,4}, 1, 0.000, 0.012}],
{ {prim_file,open_int,4}, 2, 0.211, 0.018}, %
[{{prim_file,drv_command,2}, 1, 0.152, 0.003},
{{prim_file,drv_open,2}, 1, 0.029, 0.006},
{{prim_file,pathname,1}, 1, 0.009, 0.004},
{{prim_file,open_int_setopts,3}, 1, 0.003, 0.003},
{{prim_file,open_int,4}, 1, 0.000, 0.012}]}.

{[{{io_lib_format,collect_cseq,2}, 128, 0.209, 0.209}],
{ {io_lib_format,encoding,2}, 128, 0.209, 0.209}, %
[ ]}.

{[{{image_tiff,decode_offs_value,5}, 6, 0.196, 0.021}],
{ {file,pread,3}, 6, 0.196, 0.021}, %
[{{ram_file,pread,3}, 6, 0.175, 0.035}]}.

{[{{ram_file,position,2}, 35, 0.178, 0.092},
{{ram_file,lseek_position,1}, 35, 0.000, 0.086}],
{ {ram_file,lseek_position,1}, 70, 0.178, 0.178}, %
[{{ram_file,lseek_position,1}, 35, 0.000, 0.086}]}.

{[{{file,pread,3}, 6, 0.175, 0.035}],
{ {ram_file,pread,3}, 6, 0.175, 0.035}, %
[{{ram_file,call_port,2}, 6, 0.140, 0.029}]}.

{[{{image_jpeg,segment,3}, 1, 0.175, 0.012}],
{ {image_jpeg,'-read_segments/2-fun-7-',2}, 1, 0.175, 0.012}, %
[{{io,format,2}, 1, 0.135, 0.009},
{{erl_img,set_attribute,3}, 1, 0.028, 0.018}]}.

{[{{image_jpeg,collect_tiff,3}, 1, 0.173, 0.004}],
{ {string,tokens,2}, 1, 0.173, 0.004}, %
[{{string,tokens1,3}, 1, 0.169, 0.009}]}.

{[{{image_jpeg,'-init_sos/2-fun-0-',2}, 12, 0.107, 0.073},
{{image_jpeg,component_vh,4}, 3, 0.058, 0.036},
{{image_jpeg,init_sos,2}, 1, 0.008, 0.005}],
{ {erl_img,attribute,3}, 16, 0.173, 0.114}, %
[{{lists,keysearch,3}, 16, 0.059, 0.059}]}.

{[{{filename,basename,1}, 1, 0.170, 0.003},
{{filename,basename1,3}, 65, 0.000, 0.167}],
{ {filename,basename1,3}, 66, 0.170, 0.170}, %
[{{filename,basename1,3}, 65, 0.000, 0.167}]}.

{[{{string,tokens,2}, 1, 0.169, 0.009},
{{string,tokens2,4}, 5, 0.000, 0.022}],
{ {string,tokens1,3}, 6, 0.169, 0.031}, %
[{{string,tokens2,4}, 6, 0.158, 0.027},
{{lists,member,2}, 6, 0.012, 0.012}]}.

{[{{string,tokens1,3}, 6, 0.158, 0.027},
{{string,tokens2,4}, 8, 0.000, 0.050}],
{ {string,tokens2,4}, 14, 0.158, 0.077}, %
[{{lists,member,2}, 13, 0.025, 0.025},
{{lists,reverse,1}, 7, 0.024, 0.021},
{{string,tokens2,4}, 8, 0.000, 0.050},
{{string,tokens1,3}, 5, 0.000, 0.022}]}.

{[{{image_tiff,scan_entries,6}, 3, 0.149, 0.018}],
{ {image_tiff,read_u32,2}, 3, 0.149, 0.018}, %
[{{file,read,2}, 3, 0.131, 0.010}]}.

{[{{image_tiff,decode_value,4}, 2, 0.132, 0.005}],
{ {image_tiff,decode_strings,1}, 2, 0.132, 0.005}, %
[{{image_tiff,decode_strings,3}, 2, 0.127, 0.004}]}.

{[{{erl_img,set_attribute,3}, 10, 0.070, 0.070},
{{erl_img,attribute,3}, 16, 0.059, 0.059}],
{ {lists,keysearch,3}, 26, 0.129, 0.129}, %
[ ]}.

{[{{image_tiff,decode_strings,1}, 2, 0.127, 0.004},
{{image_tiff,decode_strings,3}, 48, 0.000, 0.104}],
{ {image_tiff,decode_strings,3}, 50, 0.127, 0.108}, %
[{{lists,reverse,1}, 4, 0.019, 0.014},
{{image_tiff,decode_strings,3}, 48, 0.000, 0.104}]}.

{[{{file,open,2}, 1, 0.122, 0.009}],
{ {ram_file,open,2}, 1, 0.122, 0.009}, %
[{{ram_file,ll_open,3}, 1, 0.098, 0.018},
{{ram_file,open_mode,1}, 1, 0.015, 0.003}]}.

{[{{image_tiff,scan_ifd,6}, 3, 0.119, 0.018}],
{ {image_tiff,read_u16,2}, 3, 0.119, 0.018}, %
[{{file,read,2}, 3, 0.101, 0.010}]}.

{[{{ram_file,open,2}, 1, 0.098, 0.018}],
{ {ram_file,ll_open,3}, 1, 0.098, 0.018}, %
[{{ram_file,call_port,2}, 1, 0.048, 0.006},
{{erlang,open_port,2}, 1, 0.020, 0.020},
{garbage_collect, 1, 0.012, 0.012}]}.

{[{{prim_file,drv_close,1}, 1, 0.029, 0.007},
{{ram_file,ll_close,1}, 1, 0.026, 0.006}],
{ {erlang,port_close,1}, 2, 0.055, 0.013}, %
[{{erts_internal,port_close,1}, 2, 0.042, 0.042}]}.

{[{{string,tokens2,4}, 13, 0.025, 0.025},
{{string,tokens1,3}, 6, 0.012, 0.012},
{{file,open,2}, 3, 0.007, 0.007}],
{ {lists,member,2}, 22, 0.044, 0.044}, %
[ ]}.

{[{{prim_file,drv_open,2}, 1, 0.023, 0.023},
{{ram_file,ll_open,3}, 1, 0.020, 0.020}],
{ {erlang,open_port,2}, 2, 0.043, 0.043}, %
[ ]}.

{[{{erlang,port_close,1}, 2, 0.042, 0.042}],
{ {erts_internal,port_close,1}, 2, 0.042, 0.042}, %
[ ]}.

{[{{prim_file,close,1}, 1, 0.037, 0.008}],
{ {prim_file,drv_close,1}, 1, 0.037, 0.008}, %
[{{erlang,port_close,1}, 1, 0.029, 0.007}]}.

{[{{image_tiff,read_entry,2}, 16, 0.035, 0.035}],
{ {image_tiff,decode_type,1}, 16, 0.035, 0.035}, %
[ ]}.

{[{{file,close,1}, 1, 0.034, 0.003}],
{ {ram_file,close,1}, 1, 0.034, 0.003}, %
[{{ram_file,ll_close,1}, 1, 0.031, 0.005}]}.

{[{{image_tiff,scan_entries,6}, 16, 0.033, 0.033}],
{ {image_tiff,is_value,2}, 16, 0.033, 0.033}, %
[ ]}.

{[{{prim_file,open,2}, 1, 0.032, 0.005}],
{ {prim_file,open_mode,1}, 1, 0.032, 0.005}, %
[{{prim_file,open_mode,4}, 1, 0.027, 0.003}]}.

{[{{ram_file,close,1}, 1, 0.031, 0.005}],
{ {ram_file,ll_close,1}, 1, 0.031, 0.005}, %
[{{erlang,port_close,1}, 1, 0.026, 0.006}]}.

{[{{prim_file,open_int,4}, 1, 0.029, 0.006}],
{ {prim_file,drv_open,2}, 1, 0.029, 0.006}, %
[{{erlang,open_port,2}, 1, 0.023, 0.023}]}.

{[{{image_jpeg,init_sos,2}, 1, 0.029, 0.013},
{{image_jpeg,'-init_sos/2-lc$^0/1-0-',1}, 3, 0.000, 0.009}],
{ {image_jpeg,'-init_sos/2-lc$^0/1-0-',1}, 4, 0.029, 0.022}, %
[{{image_jpeg,component_id,1}, 3, 0.007, 0.007},
{{image_jpeg,'-init_sos/2-lc$^0/1-0-',1}, 3, 0.000, 0.009}]}.

{[{{image_jpeg,collect_tiff,3}, 13, 0.028, 0.028}],
{ {image_tiff,decode_tag,1}, 13, 0.028, 0.028}, %
[ ]}.

{[{{prim_file,open_mode,1}, 1, 0.027, 0.003},
{{prim_file,open_mode,4}, 3, 0.000, 0.011}],
{ {prim_file,open_mode,4}, 4, 0.027, 0.014}, %
[{{prim_file,reverse,1}, 2, 0.013, 0.009},
{{prim_file,open_mode,4}, 3, 0.000, 0.011}]}.

{[{{image_jpeg,component_vh,4}, 6, 0.026, 0.026}],
{ {erlang,max,2}, 6, 0.026, 0.026}, %
[ ]}.

{[{{file,open,2}, 2, 0.019, 0.005},
{{file,check_and_call,2}, 1, 0.005, 0.003},
{{file,check_args,1}, 8, 0.000, 0.016}],
{ {file,check_args,1}, 11, 0.024, 0.024}, %
[{{file,check_args,1}, 8, 0.000, 0.016}]}.

{[{{image_jpeg,process_sofn_component,3}, 3, 0.014, 0.014},
{{image_jpeg,'-init_sos/2-lc$^0/1-0-',1}, 3, 0.007, 0.007}],
{ {image_jpeg,component_id,1}, 6, 0.021, 0.021}, %
[ ]}.

{[{{filename,basename,1}, 1, 0.017, 0.006}],
{ {filename,separators,0}, 1, 0.017, 0.006}, %
[{{os,type,0}, 1, 0.011, 0.006}]}.

{[{{ram_file,open,2}, 1, 0.015, 0.003}],
{ {ram_file,open_mode,1}, 1, 0.015, 0.003}, %
[{{ram_file,open_mode,2}, 1, 0.012, 0.004}]}.

{[{{file,open,2}, 1, 0.015, 0.002}],
{ {application,get_env,2}, 1, 0.015, 0.002}, %
[{{application_controller,get_env,2}, 1, 0.013, 0.006}]}.

{[{{prim_file,open_mode,4}, 2, 0.013, 0.009}],
{ {prim_file,reverse,1}, 2, 0.013, 0.009}, %
[{{lists,reverse,2}, 2, 0.004, 0.004}]}.

{[{{image_tiff,decode_offs_value,5}, 6, 0.013, 0.013}],
{ {image_tiff,sizeof,1}, 6, 0.013, 0.013}, %
[ ]}.

{[{{erl_img,read_magic_info,1}, 1, 0.013, 0.007}],
{ {erl_img,magic,2}, 1, 0.013, 0.007}, %
[{{image_jpeg,magic,1}, 1, 0.006, 0.006}]}.

{[{{application,get_env,2}, 1, 0.013, 0.006}],
{ {application_controller,get_env,2}, 1, 0.013, 0.006}, %
[{{ets,lookup,2}, 1, 0.007, 0.007}]}.

{[{{ram_file,open_mode,1}, 1, 0.012, 0.004},
{{ram_file,open_mode,2}, 3, 0.000, 0.008}],
{ {ram_file,open_mode,2}, 4, 0.012, 0.012}, %
[{{ram_file,open_mode,2}, 3, 0.000, 0.008}]}.

{[{{prim_file,position,2}, 2, 0.012, 0.006},
{{prim_file,lseek_position,1}, 2, 0.000, 0.006}],
{ {prim_file,lseek_position,1}, 4, 0.012, 0.012}, %
[{{prim_file,lseek_position,1}, 2, 0.000, 0.006}]}.

{[{{filename,separators,0}, 1, 0.011, 0.006}],
{ {os,type,0}, 1, 0.011, 0.006}, %
[{{erlang,system_info,1}, 1, 0.005, 0.005}]}.

{[{{image_jpeg,collect_tiff,3}, 6, 0.011, 0.011}],
{ {erlang,list_to_integer,1}, 6, 0.011, 0.011}, %
[ ]}.

{[{{prim_file,open_int,4}, 1, 0.009, 0.004}],
{ {prim_file,pathname,1}, 1, 0.009, 0.004}, %
[{{prim_file,internal_name2native,1}, 1, 0.005, 0.005}]}.

{[{{application_controller,get_env,2}, 1, 0.007, 0.007}],
{ {ets,lookup,2}, 1, 0.007, 0.007}, %
[ ]}.

{[{{gen,do_call,4}, 1, 0.007, 0.007}],
{ {erlang,send,3}, 1, 0.007, 0.007}, %
[ ]}.

{[{{ram_file,call_port,2}, 1, 0.007, 0.007}],
{ {erlang,iolist_to_binary,1}, 1, 0.007, 0.007}, %
[ ]}.

{[{{erl_img,magic,2}, 1, 0.006, 0.006}],
{ {image_jpeg,magic,1}, 1, 0.006, 0.006}, %
[ ]}.

{[{{file,file_name,1}, 2, 0.006, 0.006}],
{ {file,native_name_encoding,0}, 2, 0.006, 0.006}, %
[ ]}.

{[{{image_jpeg,collect_exif,3}, 3, 0.006, 0.006}],
{ {exif,decode_tag,1}, 3, 0.006, 0.006}, %
[ ]}.

{[{{prim_file,pathname,1}, 1, 0.005, 0.005}],
{ {prim_file,internal_name2native,1}, 1, 0.005, 0.005}, %
[ ]}.

{[{{image_jpeg,segment,3}, 1, 0.005, 0.003}],
{ {image_jpeg,'-read_segments/2-fun-1-',2}, 1, 0.005, 0.003}, %
[{{image_jpeg,process_jfif,2}, 1, 0.002, 0.002}]}.

{[{{os,type,0}, 1, 0.005, 0.005}],
{ {erlang,system_info,1}, 1, 0.005, 0.005}, %
[ ]}.

{[{{image_jpeg,segment,3}, 2, 0.004, 0.004}],
{ {image_jpeg,'-read_segments/2-fun-8-',2}, 2, 0.004, 0.004}, %
[ ]}.

{[{{gen,call,4}, 1, 0.004, 0.004}],
{ {erlang,whereis,1}, 1, 0.004, 0.004}, %
[ ]}.

{[{{image_tiff,decode_value,4}, 2, 0.004, 0.004}],
{ {erlang,binary_to_list,1}, 2, 0.004, 0.004}, %
[ ]}.

{[{{prim_file,open_int,4}, 1, 0.003, 0.003}],
{ {prim_file,open_int_setopts,3}, 1, 0.003, 0.003}, %
[ ]}.

{[{{file,call,2}, 1, 0.003, 0.003}],
{ {erlang,list_to_tuple,1}, 1, 0.003, 0.003}, %
[ ]}.

{[{{image_jpeg,'-read_segments/2-fun-1-',2}, 1, 0.002, 0.002}],
{ {image_jpeg,process_jfif,2}, 1, 0.002, 0.002}, %
[ ]}.

{[{{image_jpeg,read_info,1}, 1, 0.002, 0.002}],
{ {image_jpeg,jfd,1}, 1, 0.002, 0.002}, %
[ ]}.

{[{{filename,basename,1}, 1, 0.002, 0.002}],
{ {filename,skip_prefix,2}, 1, 0.002, 0.002}, %
[ ]}.

{[ ],
{ undefined, 0, 0.000, 0.000}, %
[{{fprof,apply_start_stop,4}, 0,165938.366, 0.036}]}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions