Skip to main content

Questions tagged [optimization]

0 votes
1 answer
108 views

I am studying the use of Docker in a big scale project that is actually deployed on production. I never used docker before, but for what I read, it consinst about a new layout called "Container ...
ShadowFurtive's user avatar
0 votes
0 answers
263 views

I have a PostgreSQL database and I noticed a weird behaviour while working with indexes and partitions. The engine version is 10.21. Now, I have a table with this structure: guid varchar(50) PK guid_a ...
Federico Loro's user avatar
1 vote
1 answer
225 views

I am currently working on creating a bash script that is supposed to process large log files from one of my programs. When I first started the script took around 15 seconds to complete which wasn't ...
Dzamba's user avatar
  • 11
0 votes
1 answer
401 views

I have a folder that holds hunderds of thousands of files called hp-temps.txt. (There are also tons of subfolders) The content of these files looks like this for example: Sensor Location ...
Lumnezia's user avatar
  • 111
0 votes
1 answer
884 views

I know that there are many tools to optimize an image: pngquant optipng jpegoptim gifsicle exiftool ecc but they are all specific for a certain file type. Is there a single command line that, ...
nulll's user avatar
  • 245
1 vote
0 answers
329 views

I recently had my BT headphones stutter and cut out and realized that during CPU intensive processing, pipewire is dropping frames. My overall goal, then, is to streamline processing to make that ...
Duane J's user avatar
  • 133
1 vote
0 answers
457 views

Having custom hardware running embedded Linux (OpenWrt) like a charm. CPU - is IMX6ULL (ArmV7) so it is supported by Jlink to debug over JTAG interface. Starting GDB server and step by step debugging ...
user3583807's user avatar
0 votes
0 answers
218 views

I'm comparing performance of bash and dash (default sh in Xubuntu 18.04). I expect sh to be faster than bash I expect bitwise shift to be faster than division operator. However, I'm getting ...
Zeta.Investigator's user avatar
1 vote
0 answers
666 views

While filtering through this json file I did a benchmark and found out utilizing jq's internal sort and unique method is actually 25% slower than sort --unique! Command Mean [ms] Min [ms] Max [ms] ...
Zeta.Investigator's user avatar
1 vote
2 answers
714 views

Passing CFLAGS and CXXFLAGS to a HandBrake build for the latest version (v1.3.3 at the time of this writing) will work until you add -flto which will FAIL the whole build. How to build HandBrake with ...
DanglingPointer's user avatar
1 vote
0 answers
62 views

I've got an i3 install on a laptop with an SSD. Currently I have it configured to save the WM layout on many different events. The tool that I'm using to do this is built on Python, and I'm just ...
wknr's user avatar
  • 11
-1 votes
2 answers
57 views

Currently I am using the following command to create an archive with files older than 7 days: find /var/tunningLog/ -type f -mtime +7 -print0 | tar -czf "/var/tunningLog/$(date '+%Y-%m-%d').tar....
dejanualex's user avatar
1 vote
1 answer
328 views

Let's say I have a text file with billions of text lines sorted alphabetically, like Bar=10 Foo=6 Naz=42 How can I search for the line starting with Foo in the most optimal way (the file contains ...
Xenos's user avatar
  • 127
4 votes
1 answer
417 views

I'm very interested in moving from my Mac to a Linux system. The main barrier is my dependence on Jason Rudolph's Keyboard. Specifically, I need an equivalent to (S)uper (D)uper Mode. Super Duper ...
Balba's user avatar
  • 41
3 votes
1 answer
1k views

I have a really long command that runs over a huge file and I am forced to run it twice which doubles the time it takes to run. This is what I am doing at the moment: x=$(command | sort -u) y=$(...
markovv.sim's user avatar

15 30 50 per page