[dev] Make cleanup

2018-12-29 Thread stephen Turner
If one was going to rewrite a cleaner make what would be the recommended 
approach?

I see in a slightly older 2012 release of the code entries for windows 32 and 
amiga. I’m questioning why!

Would it be worth while to strip make of these items and then attempt to clean 
the code section by section? Diff a legacy and perhaps gnu exclusive version 
against a newer release, or perhaps another approach?

In the past I have learned coding by jumping into an existing item and 
rewriting, not sure if this is a task I will take on but the thought has 
crossed my mind.

I am not skilled enough to start from scratch and make is just too bloated as 
is to try and tackle for me, I’m thinking perhaps removing these legacy items 
and going from there?

Thanks,
Stephen


Re: [dev] [dwm] CPU usage spike when switching tags

2018-12-29 Thread Chris Down

Hi Abhijith,

Assuming this is on Linux, what does perf(1) show the CPU time is being spent 
in?


In general I'm sceptical about htop's sampling methodology, but if it's real 
perf should clearly show what it is.




[dev] [dwm] CPU usage spike when switching tags

2018-12-29 Thread Abhijith Krishnan
I am currently using dwm with
cfacts,movestack,pertag,uselessgaps,attachaside patches.
I noticed that htop is showing that dwm using 20-30% of CPU when
switching tags after which it comes back down to 2-3%.
Is it some problem with my setup or with dwm.

Thanks.