2025/01/12

Newest at the top

2025-01-12 06:30:06 +0100weary-traveler(~user@user/user363627) user363627
2025-01-12 06:29:50 +0100weary-traveler(~user@user/user363627) (Read error: Connection reset by peer)
2025-01-12 06:26:17 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-12 06:15:42 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
2025-01-12 06:15:10 +0100Digit(~user@user/digit) Digit
2025-01-12 06:14:18 +0100Digit(~user@user/digit) (Read error: Connection reset by peer)
2025-01-12 06:10:55 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-12 06:07:39 +0100simon1(~simon@24-122-69-233.resi.cgocable.ca)
2025-01-12 06:00:00 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
2025-01-12 05:59:14 +0100sayurc(~sayurc@169.150.203.34) (Quit: Konversation terminated!)
2025-01-12 05:55:27 +0100 <Leary> (you can also replace `nub` with `group` if you want the performance to be more obvious, but they should be pretty similar)
2025-01-12 05:54:38 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-12 05:50:07 +0100peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich
2025-01-12 05:47:46 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
2025-01-12 05:45:26 +0100 <Leary> tomsmeding: `null . drop 1 . nub`
2025-01-12 05:41:03 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-12 05:36:15 +0100stef204(~stef204@user/stef204) (Ping timeout: 252 seconds)
2025-01-12 05:30:12 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
2025-01-12 05:25:41 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-12 05:14:42 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2025-01-12 05:12:08 +0100sayurc(~sayurc@169.150.203.34) sayurc
2025-01-12 05:10:19 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-12 04:59:25 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2025-01-12 04:58:19 +0100 <Square> c_wraith, thanks. Yeah, got criterion up and running
2025-01-12 04:54:57 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-12 04:50:01 +0100 <c_wraith> it also does the benchmarking. Kind of like that's what it was designed to do
2025-01-12 04:49:40 +0100 <c_wraith> criterion uses module boundaries to prevent inlining so that GHC doesn't notice it's passing the same argument to the same function over and over.
2025-01-12 04:47:18 +0100 <c_wraith> write the thing that calculates it as a function. use criterion to pass the function its input.
2025-01-12 04:46:30 +0100 <Square> I guess my question is, how do I make sure a value isn't cached, but instead recalculated
2025-01-12 04:46:03 +0100terrorjack45(~terrorjac@2a01:4f8:c17:a66e::) terrorjack
2025-01-12 04:45:38 +0100bitdex(~bitdex@gateway/tor-sasl/bitdex) bitdex
2025-01-12 04:44:24 +0100terrorjack45(~terrorjac@2a01:4f8:c17:a66e::) (Quit: The Lounge - https://thelounge.chat)
2025-01-12 04:44:13 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
2025-01-12 04:39:34 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-12 04:37:21 +0100vanishingideal(~vanishing@user/vanishingideal) vanishingideal
2025-01-12 04:32:11 +0100img(~img@user/img) img
2025-01-12 04:30:25 +0100img(~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in)
2025-01-12 04:28:49 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
2025-01-12 04:25:46 +0100 <Square> How would I write a performance test for a "value". I want to compute it N times and see how long it takes
2025-01-12 04:25:01 +0100vanishingideal(~vanishing@user/vanishingideal) (Ping timeout: 265 seconds)
2025-01-12 04:24:10 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-12 04:17:33 +0100homo(~homo@user/homo) (Quit: Leaving)
2025-01-12 04:13:06 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2025-01-12 04:06:09 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-12 04:05:34 +0100op_4(~tslil@user/op-4/x-9116473) op_4
2025-01-12 04:05:03 +0100op_4(~tslil@user/op-4/x-9116473) (Remote host closed the connection)
2025-01-12 03:59:36 +0100bitdex(~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 264 seconds)
2025-01-12 03:55:28 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
2025-01-12 03:51:16 +0100dysthesis(~dysthesis@user/dysthesis) (Remote host closed the connection)
2025-01-12 03:47:14 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn