Closed wakeofwind closed 5 years ago
The _fiber
variant outputs an empty report. The _process
variant outputs a lot of unformatted info followed by an empty report.
PID SWAP COMMAND
Total: 0B
Please fix it.
@lilydjwg Fixed. And
-D preview_mt
which is just introduced in Crystall 0.28.0 is not used due to compilation error.)Parallel with process drops cmd field due to an issue which is commented in git commit message and source code.
Then drop that implementation. It doesn't work correctly besides this: a lot of processes are left behind.
The original idea is to show that Crystal can do parallel jobs no less than other languages and get not bad performance without complex implementation. But it seems it's still painful at the moment. So please ignore this pull request unless there is better improvement.
It doesn't work correctly besides this: a lot of processes are left behind.
Try to use msgpack to share non-value types among processes. And Will do more tests to investigate this issue.
@lilydjwg It seems that the issue of
It doesn't work correctly besides this: a lot of processes are left behind.
is gone after replacing dependent shard parallel
with parallel_worker
.
Please check it. :-)
Tested with Crystal 0.28.0, Go 1.12.4 and Rust 1.34.2 on Arch Linux: