immortalwrt/package/lean
Chuck 2908424223
autocore: optimize the performance of obtaining CPU usage
Preformance Test (on NanoPi R2s, repeat 1000 times):

old command

cpu_usage=$(expr 100 - $(cat /tmp/top_tmp | grep 'CPU:' | awk -F '%' '{print$4}' | awk -F ' ' '{print$2}'))

```
real    0m 14.25s
user    0m 7.96s
sys     0m 20.33s
```

new command

cpu_usage=$(cat /tmp/top_tmp | awk '/^CPU/ { printf("%d%%", 100 - $8) }')

```
real    0m 6.91s
user    0m 4.29s
sys     0m 6.06s
```

Signed-off-by: Chuck <fanck0605@qq.com>
[adjusted for our own tree]
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-20 00:23:40 +08:00
..
adbyby
amule
antileech
autocore autocore: optimize the performance of obtaining CPU usage 2021-02-20 00:23:40 +08:00
automount
autosamba
csstidy
ddns-scripts_aliyun
ddns-scripts_dnspod ddns-scripts_dnspod: fix updating records for dual-stack domain 2021-02-19 23:44:03 +08:00
default-settings image: rename distribution to ImmortalWrt 2021-02-18 17:49:40 +08:00
dnsforwarder
dsmboot
fast-classifier
gmediarender
ipset-lists
ipv6-helper
libcryptopp
luci-app-accesscontrol
luci-app-adbyby-plus
luci-app-airplay2
luci-app-amule
luci-app-arpbind
luci-app-autoreboot
luci-app-cifs-mount
luci-app-cpufreq luci-app-cpufreq: add ACL dependency annotations 2021-02-19 23:01:32 +08:00
luci-app-dnsforwarder
luci-app-docker
luci-app-familycloud
luci-app-filetransfer
luci-app-guest-wifi
luci-app-haproxy-tcp
luci-app-ipsec-vpnd
luci-app-kodexplorer
luci-app-mtwifi
luci-app-music-remote-center
luci-app-mwan3helper
luci-app-n2n_v2
luci-app-nfs
luci-app-nps
luci-app-openvpn-server
luci-app-pppoe-relay
luci-app-ps3netsrv
luci-app-qbittorrent
luci-app-ramfree
luci-app-softethervpn
luci-app-ssr-plus luci-app-ssr-plus: bug fixes 2021-02-18 19:31:52 +08:00
luci-app-ssrserver-python
luci-app-syncdial
luci-app-unblockmusic
luci-app-unblockneteasemusic-go
luci-app-usb-printer
luci-app-v2ray-server
luci-app-vlmcsd
luci-app-vsftpd
luci-app-webadmin
luci-app-wrtbwmon luci-app-wrtbwmon: rollback to old version 2021-02-19 17:21:36 +08:00
luci-app-xlnetacc
luci-app-zerotier
luci-lib-fs
microsocks
mt-drivers
n2n_v2
openwrt-fullconenat
pandownload-fake-server
pdnsd-alt
polarssl
ps3netsrv
qBittorrent-Enhanced-Edition
qt5
r8125 r8125: bump to 9.005.01 2021-02-17 22:16:08 +08:00
shadowsocksr-libev
shortcut-fe
srelay
tcpping
UnblockNeteaseMusic
UnblockNeteaseMusic-Go
uugamebooster
v2ray
vlmcsd
vsftpd-alt
wxbase