liamg / darktile

:waning_crescent_moon: Darktile is a GPU rendered terminal emulator designed for tiling window managers.
MIT License
3.04k stars 113 forks source link

Add option for generating CPU profile #248

Closed mjs closed 5 years ago

mjs commented 5 years ago

Description

This adds a --cpuprofile command line option which causes aminal to generate a Go CPU profile file. This is useful for investigating performance issues.

Type of change

How Has This Been Tested?

Checked that CPU profile is generated when --cpuprofile is passed and isn't generated when the argument isn't passed.

Test Configuration:

Checklist:

maxhora commented 5 years ago

@mjs it looks like Travis is never started for the commit

maxhora commented 5 years ago

@mjs going to fix it

mjs commented 5 years ago

@MaxRis thanks for sorting this out.