���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /home/real/node-v13.0.1/deps/v8/tools/ |
#!/bin/bash # Collect the number of [[deprecated]] calls detected when compiling V8. # Requires "v8_deprecate_get_isolate = true" to be useful. set -e if [ -z "$1" ]; then (>&2 echo "Usage: collect_deprecation_stats.sh [<outdir>|<log>]") exit 1 fi if [ -d "$1" ]; then OUTDIR=$1 FULL_LOG=/tmp/get_isolate_deprecation.log gn clean "$OUTDIR" autoninja -C "$OUTDIR" > $FULL_LOG else FULL_LOG=$1 fi FILTERED_LOG=/tmp/filtered_isolate_deprecation.log UNIQUE_WARNINGS_LOG=/tmp/unique_warnings.log grep "warning:" "$FULL_LOG" | sed $' s|^\.\./\.\./||; s/: warning: \'/: /; # strip everything after deprecated function name (including template param). s/\(<.*>\)\\?\'.*//' > $FILTERED_LOG sort -u $FILTERED_LOG > $UNIQUE_WARNINGS_LOG echo "Total deprecated calls: $(wc -l < $UNIQUE_WARNINGS_LOG)" cut -f2 -d' ' $UNIQUE_WARNINGS_LOG | sort | uniq -c