首页 > 其他分享 >chrome 高cpu占用 性能分析

chrome 高cpu占用 性能分析

时间:2023-05-03 13:55:50浏览次数:32  
标签:... Users trace chrome 占用 SYMBOL symbols cpu

Visual Studio 性能探查器

Windows Performance Toolkit

PerfView 应该只能用于.NET

尝试了chrome://tracing/,但是暂时没太看懂里面都是什么意思

 

搜着搜着发现了一个UIforETW,这个好像是专门用于chrome的Event Tracing for Windows (ETW),所以试用了一下

msiexec.exe /i "C:\Users\\Downloads\etwpackage1.58\etwpackage\third_party\wpt10\WPTx64 (OnecoreUAP)-x64_en-us.msi"
msiexec.exe /i "C:\Users\\Downloads\etwpackage1.58\etwpackage\third_party\wpt10\WPTx64 (DesktopEditions)-x64_en-us.msi"
WPT version 10.0.22621.755 was installed.

Setting _NT_SYMBOL_PATH=SRV*C:\symbols*https://msdl.microsoft.com/download/symbols (Microsoft). Set _NT_SYMBOL_PATH yourself or toggle 'Chrome developer' if you want different defaults.

Setting _NT_SYMBOL_PATH=SRV*C:\symbols*https://msdl.microsoft.com/download/symbols;SRV*C:\symbols*https://chromium-browser-symsrv.commondatastorage.googleapis.com (Microsoft plus Chrome). Set _NT_SYMBOL_PATH yourself or toggle 'Chrome developer' if you want different defaults.(这里需要自己设置 符号服务器环境变量 ,我以为是自动设置的)


Starting tracing to disk...
Tracing is started.

Saving trace to disk...
The trace you have just captured "C:\Users\\AppData\Local\Temp\UIForETWkernel.etl" may contain personally identifiable information, including but not necessarily limited to paths to files accessed, paths to registry accessed and process names. Exact information depends on the events that were logged. Please be aware of this when sharing out this trace with other people.
The trace you have just captured "C:\Users\\AppData\Local\Temp\UIForETWuser.etl" may contain personally identifiable information, including but not necessarily limited to paths to files accessed, paths to registry accessed and process names. Exact information depends on the events that were logged. Please be aware of this when sharing out this trace with other people.
Merging trace...
Merged Etl: C:\Users\\Documents\etwtraces\2023-05-03_12-38-18_.etl
Preprocessing trace to identify Chrome processes and summarize CPU usage. This may take a little while...
Finished recording trace.

Copied chrome_regions_of_interest.xml to the WPA Files directory.
Copied Startup10.wpaProfile to %localappdata%\Windows Performance Analyzer

标签:...,Users,trace,chrome,占用,SYMBOL,symbols,cpu
From: https://www.cnblogs.com/hhdom/p/17368919.html

相关文章

  • linux cpufreq framework(5)_ARM big Little driver
    1.前言也许大家会觉得奇怪:为什么Linuxkernel把对ARMbig·Lttile的支持放到了cpufreq的框架中?众所周知,ARM的big·Little架构,也称作HMP(具体可参考“LinuxCPUcore的电源管理(2)_cputopology”中相关的介绍),通过在一个chip中封装两种不同类型的ARMcore的方式,达到性能和功耗的......
  • 从CPU的视角看 多线程代码为什么那么难写!
      当我们提到多线程、并发的时候,我们就会回想起各种诡异的bug,比如各种线程安全问题甚至是应用崩溃,而且这些诡异的bug还很难复现。我们不禁发出了灵魂拷问“为什么代码测试环境运行好好的,一上线就不行了?”。为了解决线程安全的问题,我们的先辈们在编程语言中引入了各种各样新名......
  • 获得android手机的CPU核心数
    //CPU个数privateintgetNumCores(){//PrivateClasstodisplayonlyCPUdevicesinthedirectorylistingclassCpuFilterimplementsFileFilter{@Overridepublicbooleanaccept(Filepathname){//Checkiffilenameis&......
  • HPL:多进程CPU性能测试
    使用HPL进行CPU性能测试CPU型号为:AMDRyzen75800H,本次实验使用两台Linux虚拟机测试,每个虚拟机分配一个CPU。理论浮点峰值=CPU主频×CPU核数×CPU每周期执行浮点运算的次数本机CPU的基准频率为3.2GHZ,加速频率为4.4GHZghz。CPU有8核16线程(一个核虚拟成2个CPU),CPU单个周期浮点计算......
  • (Edge,Chrome)编写扩展应用,替代IE ActiveX插件
    资料来源#这次以Edge作为例子,Chrome其实也差不多Edge扩展应用资料:https://docs.microsoft.com/zh-cn/microsoft-edge/extensions-chromium用到的浏览器Api资料:https://developer.mozilla.org/zh-CN/docs/Mozilla/Add-ons/WebExtensions/API/runtime/sendMessagehttps://developer......
  • Pytorch2 如何通过算子融合和 CPU/GPU 代码生成加速深度学习
    动动发财的小手,点个赞吧!PyTorch中用于图形捕获、中间表示、运算符融合以及优化的C++和GPU代码生成的深度学习编译器技术入门计算机编程是神奇的。我们用人类可读的语言编写代码,就像变魔术一样,它通过硅晶体管转化为电流,使它们像开关一样工作,并允许它们实现复杂的逻辑——这......
  • Chrome Kiosk Mode All In One
    ChromeKioskModeAllInOneChrome信息亭KioskMode使浏览器隐藏边框来全屏展示WebApp页面,一般用于商场超市、快餐店等大屏自助点餐场景demoshttps://www.bilibili.com/video/BV1UK4y147uh/?t=146(......
  • Selenium+Java+Chrome进行web自动化实例
    Selenium+Java+Chrome进行web自动化实例   这是我第一次在项目中使用JavaSpring启动,因为我主要使用C#,我需要从blobURL路径读取文件并将一些字符串数据(如密钥)附加到同一个文件中。在我的API下载文件之前流。 以下是我尝试过的方法: FileOutputStream/InputStream:抛......
  • 设置两个Chrome浏览器 一个正常使用 一个无图片版
    添加两个Chrome浏览器双击打开Chrome浏览器,点击右上角头像,点击添加选择“在不登录帐号的情况下继续”,创建一个名字,选个配色,勾选下面的创建桌面快捷方式此时会打开一个新的Chrome浏览器,桌面上也会同步出现一个“web测试-Chrome”图标。按照同样的步骤添加一个平常用的账户......
  • 【GPU基础问题】GPU内存占用率很高利用率很低
    前言 问题描述查看nvidia-smi,发现显存占比很高,但是GPU-Util(GPU利用率)很低,在3%、7%、11%等几个参数之间反复跳动。watch-n0.5nvidia-smi也就是显卡并没有完全利用起来,导致训练很慢。原因分析GPU内存占用率(memoryusage) GPU内存利用率(volatileGPU-Util)  ......