F-Droid Devs

126 Members
#fdroid-dev F-Droid development discussion only | Use #fdroid:f-droid.org for general, app- and repo-related matters | Meeting every Thursday at 11:30 UTC | This channel is publicly logged at https://matrix.f-droid.org/alias/%23fdroid-dev:f-droid.org19 Servers

Load older messages


SenderMessageTime
25 Jun 2020
@eighthave:matrix.org_hcits a lot longer than 3s a package14:55:19
@eighthave:matrix.org_hcsome take minutes14:55:25
@bubu:bubu1.euBubuweird14:55:39
@eighthave:matrix.org_hcdon't really know why14:55:52
@eighthave:matrix.org_hcjust observed that14:55:59
@bubu:bubu1.euBubuI've run it over /repo (which has like 10000 apks) and 3s was the average time i got14:56:03
@eighthave:matrix.org_hcI do know all the malware companies have custom code to optimize this kind of stuff14:56:13
@eighthave:matrix.org_hcmaybe that was with an SSD?14:56:32
@bubu:bubu1.euBubumost apks are under 1s for me14:56:36
@eighthave:matrix.org_hcthis is on gcc149, which is a spinner disk14:56:38
@bubu:bubu1.euBubuyeah pretty fast ssd14:56:49
@eighthave:matrix.org_hcin which case, faster code won't help muc14:56:58
@bubu:bubu1.euBubuis it pegging the cpu?14:57:36
@eighthave:matrix.org_hcunless apkanalyzer is doing stupid stuff14:57:40
@bubu:bubu1.euBubu*all cpus14:57:40
@bubu:bubu1.euBubufor me it got my system to about 60% load without doing any parallelization14:58:04
@eighthave:matrix.org_hcI'm running multiple instances14:58:30
@bubu:bubu1.euBubuah, okay14:58:41
@bubu:bubu1.euBubumakes sense14:58:43
@eighthave:matrix.org_hcprobably too many14:58:56
@bubu:bubu1.euBubuapkanalyzer definitely has some multithreading already going on14:58:58
@bubu:bubu1.euBubu _hc: can you take a minute and double check what I'm doing here? https://gitlab.com/fdroid/fdroiddata/-/issues/2073#note_368282439 14:59:37
@eighthave:matrix.org_hcin related news, I have this "faup" URL extraction process based on grepping strings and feeding it to faup.14:59:56
@eighthave:matrix.org_hcits been pegging 32 cores for ~2 months, mostly with grep15:00:14
@eighthave:matrix.org_hcsometimes, single grep instances use up to 80GB RAM!15:00:23
@eighthave:matrix.org_hcsure, I'lllook15:00:32
@freenode_cdesai:matrix.orgcdesaiworth trying https://github.com/BurntSushi/ripgrep or https://github.com/ggreer/the_silver_searcher15:02:39
@eighthave:matrix.org_hchave you tried them?15:06:47
@freenode_cdesai:matrix.orgcdesaiyes, I use rg exclusively, and was using ag before I found that15:07:15
@eighthave:matrix.org_hcis ripgrep a drop-in grep replacement?15:09:20

Show newer messages


Back to Room ListRoom Version: 1