Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daily Report 2016-12-21 Lei Lei #20

Open
xingyi-leilei123 opened this issue Dec 21, 2016 · 0 comments
Open

Daily Report 2016-12-21 Lei Lei #20

xingyi-leilei123 opened this issue Dec 21, 2016 · 0 comments

Comments

@xingyi-leilei123
Copy link
Collaborator

xingyi-leilei123 commented Dec 21, 2016

一、测试结果可视化展示
1、鼠标指到曲线每个点上会跳出tooltip指示commitid、metric名和metric值,之前commitid是个链接,但是不能跳转,我就把那个链接改成普通文本了
2、因为xaxis一直选定为kernel,所以我把result.php部分关于xaxis的选择部分删去了,xaxis始终为pcname+commitid,图像可以照常显示,没有影响
针对昨天发现的问题,发现有两种情况会显示旧图:
1、在result.php中选择没有添加monitor进行监控的benchmark,它因为没有metric信息,所以执行genhtml.py时,它的metic选项为空,导致genhtml.py执行失败,例如执行xiuxiu_GUI:python genhtml.py -i csv/xiuxiu_GUI.csv -o cache/out.html -m ,, -b xiuxiu_GUI -c gcc-5
2、对于每个benchmark中前七列,因为其值都为string类型,不是数值类型,所以无法在曲线图上无法显示,导致genhtml.py执行失败,例如点击lkpebizzy的benchmark选项:python genhtml.py -i csv/lkpebizzy.csv -o cache/out.html -m benchmark -b lkpebizzy -c gcc-5
针对第一个问题:
chart.php中执行'python genhtml.py -i '.$csv_path.' -o cache/out.html -m '.$metric.' -b '.$benchmarks.' -c gcc-5'前会先执行'rm -rf ./cache/out.html'将旧图删去,则不会显示旧图,但是仍然由于metic选项为空,导致genhtml.py执行失败,无法生成out.html,报not found的错误。在genhtml.py中进行处理时,当metic选项为空时,如果直接exit,仍然会输出not found的错误。唯一的办法是当metic选项为空时,生成一个空的html或者有提示信息的html。
针对第二个问题:
对以下两处进行修改,使得前7列不显示,因为前7列显示没有意义,避免用户点击
$head_count=7;
$head_data=array_slice($head_data,7);
周一提出的要求:
1、缩放:菜鸟教程http://www.runoob.com/highcharts/highcharts-line-time.html对缩放的实现有很好的案例,但是修改现在的代码有些复杂
2、选择任意个metric进行图形可视化显示:
利用form中的checkbox选择要显示的metric,action方法只能是post,即url中不能显示benchmark和count参数
二、论文开题
1、华为解决卡顿、越用越慢主要基于三方面,一是EMUI5.0的机器学习功能,准确预测用户行为;二是采用F2FS文件系统代替EXT3/4分区,提高4K性能,大量消灭文件碎片化;三是智能化的资源回收/压缩,保证系统始终有内存等资源可用
2、Facebook是如何收集其Android应用性能数据的
http://www.infoq.com/cn/news/2015/11/Facebook-Android
AppInsight: mobile app performance monitoring in the wild
https://dl.acm.org/citation.cfm?id=2387891

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant