Merge pull request #1921 from Jackwaterveg/develop

[Doc] add script for calc RTF in  websocket_client
pull/1927/head
Hui Zhang 3 years ago committed by GitHub
commit 7e987a6bcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,6 +13,9 @@
# limitations under the License.
#!/usr/bin/python
# -*- coding: UTF-8 -*-
# script for calc RTF: grep -rn RTF log.txt | awk '{print $NF}' | awk -F "=" '{sum += $NF} END {print "all time",sum, "audio num", NR, "RTF", sum/NR}'
import argparse
import asyncio
import codecs

Loading…
Cancel
Save