• Joined on 2024年03月22日
201984 pushed to master at 201984/dut 2025年12月12日 03:10:35 +01:00
7861b14a77 Add -f option for counting files
201984 closed issue 201984/dut#3 2024年12月04日 04:41:30 +01:00
Create a tag
201984 commented on issue 201984/dut#3 2024年12月04日 04:41:29 +01:00
Create a tag

Yeah, it's time. It's now tagged as 1.0.

201984 pushed tag 1.0 to 201984/dut 2024年12月04日 04:39:38 +01:00
201984 pushed to master at 201984/dut 2024年12月04日 04:39:24 +01:00
3cb317f6fb Rerun benchmarks
49d7af8d34 Mark as 1.0
Compare 2 commits »
201984 pushed to master at 201984/dut 2024年11月11日 04:03:43 +01:00
1f813ce1fd Use loop counter for size in qsort call, and add comment
cde41ec726 Fix idiotic typo
Compare 2 commits »
201984 commented on pull request 201984/dut#23 2024年11月10日 23:33:21 +01:00
feat/add-one-filesystem

Yeah, that could be clearer and I'll change it to be i. Although if the program is working correctly, i and stk-arrLen hold the same value at that point since stk->arrLen is initialized as...

201984 commented on issue 201984/dut#22 2024年11月10日 22:47:39 +01:00
[Feature Request] add option to stick to one file system

I didn't think of doing that, but I guess that's a lesson for me. If you have a minute, was there anything else I missed? I don't think there's any other problems, but that one slipped by somehow 👀

201984 commented on pull request 201984/dut#23 2024年11月10日 22:44:21 +01:00
feat/add-one-filesystem

Was that to fix a crash? I think I fixed it with the additions on lines 1135-1138 in 758a4466a11d6b588342ef70eef155a47a2cce84. It was segfaulting for me whenever I passed a plain file as a...

201984 commented on issue 201984/dut#22 2024年11月10日 22:27:48 +01:00
[Feature Request] add option to stick to one file system

I just merged 758a4466a11d6b588342ef70eef155a47a2cce84, which adds the option. It doesn't detect recursively mounting a filesystem inside itself, but detecting that would be more complicated and...

201984 closed pull request 201984/dut#23 2024年11月10日 22:25:52 +01:00
feat/add-one-filesystem
201984 commented on pull request 201984/dut#23 2024年11月10日 22:25:51 +01:00
feat/add-one-filesystem

Thanks for the PR!

I started working on my own version of this a couple hours before you opened this PR, and I just merged it in 758a4466a11d6b588342ef70eef155a47a2cce84, so I'm not going to...

201984 pushed to master at 201984/dut 2024年11月10日 22:20:35 +01:00
758a4466a1 Add -x option to limit search to filesystems of command line args
201984 pushed to master at 201984/dut 2024年11月04日 02:30:15 +01:00
9a77989c09 Abort in case of allocation failures instead of segfaulting
201984 commented on issue 201984/dut#21 2024年10月01日 00:24:28 +02:00
Truncated output with shell redirection

Normally dut outputs (Terminal height - 10) rows, but if you are redirecting to a file then it can't get the terminal height. I set the default for this case to [20 rows](https://codeberg.org/201...

201984 commented on issue 201984/dut#20 2024年07月31日 04:44:26 +02:00
sysconf(_SC_NPROCESSORS_ONLN) is not the number of available cores

Thanks for the issue! My laptop only has 20 cores, so I didn't consider people wanting to use it on beefier computers like yours with limited affinity.

I just changed dut to use `sched_getaffi...

201984 pushed to master at 201984/dut 2024年07月31日 04:40:26 +02:00
041c6f2616 Use sched_getaffinity instead of NPROCESSORS_ONLN
201984 closed pull request 201984/dut#16 2024年07月31日 03:09:06 +02:00
Output usage message without escape codes without a buffer
201984 commented on pull request 201984/dut#16 2024年07月31日 03:09:05 +02:00
Output usage message without escape codes without a buffer

Not going to merge this since the existing code is fine. There's nothing wrong with using a 2KB buffer on the stack, and if the usage text is edited to be too big for the buffer, enlarging it is...

201984 commented on pull request 201984/dut#13 2024年07月31日 02:14:35 +02:00
Write output directly to the standard output

That is correct. Using stdio would've been simpler, but I wanted to make it as fast as I could (even though probably no one will notice).