feat: support percentage cpu waste using PID#30
Merged
layou233 merged 4 commits intolayou233:masterfrom Mar 25, 2023
Merged
Conversation
Owner
|
我一直在思考,一个无限空 loop 是否真的适合?我在很多类似脚本里看到用空 loop 来浪费 CPU,但实际上这会造成非常频繁的跳转指令,非常易于识别。事实上 host 只要尝试检测这类特征就能轻松识别这种程序,但目前也许足够了。 另外,这个看起来十分有趣。我觉得我们可以把他部分实现移到一个新 package 里(或者让一些东西私有),只让 waste package 提供类似 感谢 PR! |
Contributor
Author
忘了把chacha20放回去了😓 |
Owner
|
我重新格式化了下,把 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
related to #28 #22 #25 #27