Производительность Chrome на некоторых устройствах Android будет особенно плохой - PullRequest
0 голосов
/ 14 мая 2019

Фон

Некоторые люди сообщают, что при использовании Chrome для просмотра веб-сайтов на некоторых устройствах Android производительность очень низкая.

  • Прокрутка иногда зависает
  • Использование CSS-анимации для отображения всплывающих окон

Но я попробовал ту же модель устройства, и просмотр очень гладкий.


Временное решение

Я использовал следующие методы для повышения производительности, но это повлияло на устройства без проблем с производительностью

  • использовать GPU композитинг
    • добавить transform: translateZ(0); к родительскому div
  • отключена CSS анимация всплывающего окна

Мой вопрос:

Есть ли способ проверить, имеет ли устройство низкую производительность?

  • Прокрутка иногда зависает

мой сайт: https://www.careline.com.tw/CareLinePet/Pet/


Информация о графическом процессоре телефона в проблеме

Graphics Feature Status
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Disabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Out-of-process Rasterization: Hardware accelerated
Hardware Protected Video Decode: Unavailable
Rasterization: Hardware accelerated
Skia Renderer: Disabled
Surface Control: Disabled
Surface Synchronization: Enabled
Video Decode: Hardware accelerated
Viz Service Display Compositor: Enabled
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
Driver Bug Workarounds
clear_uniforms_before_first_program_use
disable_aimagereader
disable_framebuffer_cmaa
dont_disable_webgl_when_compositor_context_lost
max_msaa_sample_count_4
max_texture_size_limit_4096
scalarize_vec_and_mat_constructor_args
use_es2_for_oopr
use_virtualized_gl_contexts
disabled_extension_GL_KHR_blend_equation_advanced
disabled_extension_GL_KHR_blend_equation_advanced_coherent
disabled_webgl_extension_EXT_disjoint_timer_query
disabled_webgl_extension_EXT_disjoint_timer_query_webgl2
Problems Detected
Protected video decoding with swap chain is for Windows and Intel only
Disabled Features: protected_video_decode
The Mali-Txxx driver does not guarantee flush ordering: 154715, 10068, 269829, 294779, 285292
Applied Workarounds: use_virtualized_gl_contexts
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
Limit max texure size to 4096 on all of Android
Applied Workarounds: max_texture_size_limit_4096
Use GL_INTEL_framebuffer_CMAA on ChromeOS: 535198
Applied Workarounds: disable_framebuffer_cmaa
Disable KHR_blend_equation_advanced until cc shaders are updated: 661715
Applied Workarounds: disable(GL_KHR_blend_equation_advanced), disable(GL_KHR_blend_equation_advanced_coherent)
eglSwapBuffers intermittently fails on Android when app goes to background: 744678
Applied Workarounds: dont_disable_webgl_when_compositor_context_lost
Don't expose disjoint_timer_query extensions to WebGL unless site isolation is enabled: 808744
Limit MSAA to 4x on Android devices: 797243
Applied Workarounds: max_msaa_sample_count_4
Frequent crashes on Adreno (TM) on L and below: 866613, 860021
Applied Workarounds: use_es2_for_oopr
Disable AImageReader on ARM GPUs as its buggy.: 838725
Applied Workarounds: disable_aimagereader
Raster is using a single thread.
Disabled Features: multiple_raster_threads
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Surface Control has been disabled by Finch trial or command line.
Disabled Features: surface_control
Skia renderer is not used by default.
Disabled Features: skia_renderer
Version Information
Data exported 2019-05-14T05:40:31.379Z
Chrome version Chrome/74.0.3729.136
Operating system Android 8.0.0
Software rendering list URL https://chromium.googlesource.com/chromium/src/+/015deec36d00c1f36b96fed01b8e913faf2b1e6c/gpu/config/software_rendering_list.json
Driver bug list URL https://chromium.googlesource.com/chromium/src/+/015deec36d00c1f36b96fed01b8e913faf2b1e6c/gpu/config/gpu_driver_bug_list.json
ANGLE commit id 9512a0ef062a
2D graphics backend Skia/74 ae4b97edd5b9eeee9e4fe9814f67e3abc4ba1a75-
Command Line --use-mobile-user-agent --top-controls-show-threshold=0.5 --top-controls-hide-threshold=0.5 --orderfile-memory-optimization=on --use-mobile-user-agent --enable-pinch --enable-viewport --validate-input-event-stream --enable-longpress-drag-selection --touch-selection-strategy=direction --main-frame-resizes-are-orientation-changes --disable-composited-antialiasing --enable-dom-distiller --flag-switches-begin --flag-switches-end
Driver Information
Initialization time 201
In-process GPU false
Passthrough Command Decoder false
Sandboxed false
GPU0 VENDOR = 0x0000 [ARM], DEVICE= 0x0000 [Mali-T880] ACTIVE
Optimus false
AMD switchable false
Driver vendor ARM
Driver version 18.0.00cet0
Driver date 
GPU CUDA compute capability major version 0
Pixel shader version 3.20
Vertex shader version 3.20
Max. MSAA samples 16
Machine model name G3226
Machine model version 
GL_VENDOR ARM
GL_RENDERER Mali-T880
GL_VERSION OpenGL ES 3.2 v1.r18p0-00cet0.31096d938f6f64bb2ec1de8405ab6460
GL_EXTENSIONS GL_EXT_debug_marker GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap GL_OES_element_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_KHR_texture_compression_astc_sliced_3d GL_KHR_debug GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_OES_texture_3D GL_EXT_texture_storage GL_EXT_multisampled_render_to_texture GL_OES_surfaceless_context GL_OES_texture_stencil8 GL_EXT_shader_pixel_local_storage GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_ARM_mali_program_binary GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_texture_storage_multisample_2d_array GL_OES_shader_image_atomic GL_EXT_robustness GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed GL_EXT_texture_border_clamp GL_OES_texture_border_clamp GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array GL_OES_sample_variables GL_OES_sample_shading GL_OES_shader_multisample_interpolation GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation_shader GL_OES_tessellation_shader GL_EXT_primitive_bounding_box GL_OES_primitive_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader GL_ANDROID_extension_pack_es31a GL_EXT_gpu_shader5 GL_OES_gpu_shader5 GL_EXT_texture_buffer GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image GL_EXT_color_buffer_half_float GL_EXT_color_buffer_float GL_EXT_YUV_target GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_KHR_robustness GL_KHR_robust_buffer_access_behavior GL_EXT_draw_elements_base_vertex GL_OES_draw_elements_base_vertex GL_EXT_protected_textures
Disabled Extensions GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
Disabled WebGL Extensions EXT_disjoint_timer_query EXT_disjoint_timer_query_webgl2
Window system binding vendor 
Window system binding version 
Window system binding extensions 
Direct rendering Yes
Reset notification strategy 0x8252
GPU process crash count 0
Compositor Information
Tile Update Mode One-copy
Partial Raster Enabled
GpuMemoryBuffers Status
R_8 Software only
R_16 Software only
RG_88 Software only
BGR_565 Software only
RGBA_4444 Software only
RGBX_8888 GPU_READ, SCANOUT
RGBA_8888 GPU_READ, SCANOUT
BGRX_8888 Software only
BGRX_1010102 Software only
RGBX_1010102 Software only
BGRA_8888 Software only
RGBA_F16 Software only
YVU_420 Software only
YUV_420_BIPLANAR Software only
UYVY_422 Software only
Display(s) Information
Info Display[0] bounds=[0,0 424x753], workarea=[0,0 424x753], scale=2.55, external.
Color space information {primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL}
Bits per color component 8
Bits per pixel 24
Video Acceleration Information
Decode vp9 profile0 up to 3840x2160 pixels
Decode vp9 profile0 up to 3840x2160 pixels (encrypted)
Decode vp9 profile1 up to 3840x2160 pixels
Decode vp9 profile1 up to 3840x2160 pixels (encrypted)
Decode vp9 profile2 up to 3840x2160 pixels
Decode vp9 profile2 up to 3840x2160 pixels (encrypted)
Decode vp9 profile3 up to 3840x2160 pixels
Decode vp9 profile3 up to 3840x2160 pixels (encrypted)
Decode h264 baseline up to 3840x2160 pixels
Decode h264 main up to 3840x2160 pixels
Decode h264 extended up to 3840x2160 pixels
Decode h264 high up to 3840x2160 pixels
Decode h264 high 10 up to 3840x2160 pixels
Decode h264 high 4:2:2 up to 3840x2160 pixels
Decode h264 high 4:4:4 predictive up to 3840x2160 pixels
Decode h264 scalable baseline up to 3840x2160 pixels
Decode h264 scalable high up to 3840x2160 pixels
Decode h264 stereo high up to 3840x2160 pixels
Decode h264 multiview high up to 3840x2160 pixels
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...