lilydjwg / swapview-rosetta

Print swap usage per process. Implemented in various programming languages
493 stars 108 forks source link

Racket:improve performance through parallelism with place form #172

Closed Antigen-1 closed 2 years ago

Antigen-1 commented 2 years ago

2022-03-06 17-47-04 的屏幕截图

lilydjwg commented 2 years ago

I prefer parallel version to be separate, like the existing ones. The numbers should be multiplied by 1024. Also it can no longer be run like a script.

Antigen-1 commented 2 years ago

I'll fix the problems.Also thank you for the advice!

lilydjwg commented 2 years ago

There are two issues with the latest commit:

Antigen-1 commented 2 years ago

Well, The place form in racket actually creates a place, which is effectively a new Racket instance that can run in parallel to other places, which seems to be the reason.