npub1de…nthv4 on Nostr: That's my point, Rust test binary should only spawn as many threads as there are ...
That's my point, Rust test binary should only spawn as many threads as there are CPUs.
I hate Windows as much as anyone else but pretending that your tests will run faster if you inject a bunch of context switches into them is just naive.
Published at
2025-04-01 14:29:11Event JSON
{
"id": "cac58fd7a73469fb3ba819fc9992d596835cebb15ecbe1ba9c76d3e9e186e7ab",
"pubkey": "6e77f4f3c9995e0887d02dc95b39692f58641ed5b073972ef86cd6b61ecc6bae",
"created_at": 1743517751,
"kind": 1,
"tags": [
[
"e",
"a1c7eea234e05639277fc4fe39c3f3ab2e94a490cbe19f589b02a0b1772b58eb",
"",
"root"
],
[
"e",
"a3c8d975d4d87a58e0594e4e1e4ab2aee745e4fcef12b93c8ad8b6fc8557d751"
],
[
"e",
"3b21fc40c3a7bdf589294ba9a07af8f99a9832385dd9a5b5ffcd5860e7e92343",
"",
"reply"
],
[
"p",
"6e77f4f3c9995e0887d02dc95b39692f58641ed5b073972ef86cd6b61ecc6bae"
],
[
"p",
"3d2e51508699f98f0f2bdbe7a45b673c687fe6420f466dc296d90b908d51d594"
]
],
"content": "That's my point, Rust test binary should only spawn as many threads as there are CPUs.\n\nI hate Windows as much as anyone else but pretending that your tests will run faster if you inject a bunch of context switches into them is just naive.",
"sig": "652d3b12455d15240332d1f7f43cc959a243b01ed12dfc20b4a214bde3410153a45c7263cdd5f003a2fca6ecbffdfe1f28b6758fd9cfe0b82f41b2c9f0ca3057"
}