2022年1月4日
摘要: The following Hive statements will be transformed into four dependent MR jobs, their running process is shown in the figure, and the use of Tez can gr 阅读全文
posted @ 2022-01-04 11:07 苍狼一笑 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 1.1 Map端文件合并减少Map任务数量 一般来说,HDFS的默认文件块大小是128M,如果在Hive执行任务时,发现Map端的任务过多,且执行时间多数不超过一分钟,建议通过参数,划分(split)文件的大小,合并小文件。如: 1 set hive.input.format=org.apache. 阅读全文
posted @ 2022-01-04 10:56 苍狼一笑 阅读(73) 评论(0) 推荐(0) 编辑
  2020年7月15日
摘要: 1、浏览器任务管理器 2、Timeline时序图记录 3、堆快照朝招分离DOM 4、判断是否存在频繁的垃圾回收 阅读全文
posted @ 2020-07-15 21:29 苍狼一笑 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 内存泄漏:内存使用持续升高 内存膨胀:在多数设备上都存在性能问题(硬件,网络等因素) 频繁垃圾回收:通过内存变化图进行分析 阅读全文
posted @ 2020-07-15 21:27 苍狼一笑 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 1、页面出现延迟加载或经常性暂停 2、页面持续性出现糟糕的性能(内存膨胀) 3、页面的性能随着时间延长越来越差 阅读全文
posted @ 2020-07-15 21:24 苍狼一笑 阅读(130) 评论(0) 推荐(0) 编辑
  2020年7月1日
摘要: 1 <meta name="format-detection" content="telephone=no,email=no,address=no"> 阅读全文
posted @ 2020-07-01 13:41 苍狼一笑 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 1 String.prototype.endWith=function(str){ 2 if(str==null||str==""||this.length==0||str.length>this.length) 3 return false; 4 if(this.substring(this.le 阅读全文
posted @ 2020-07-01 13:37 苍狼一笑 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 1 String.prototype.startWith=function(str){ 2 if(str==null||str==""||this.length==0||str.length>this.length) 3 return false; 4 if(this.substr(0,str.le 阅读全文
posted @ 2020-07-01 13:35 苍狼一笑 阅读(572) 评论(0) 推荐(0) 编辑
摘要: //判断是否有find方法if(!Array.prototype.find){ Array.prototype.find = function(callback) { return callback && (this.filter(callback) || [])[0]; }; } 阅读全文
posted @ 2020-07-01 13:32 苍狼一笑 阅读(745) 评论(0) 推荐(0) 编辑
摘要: //这个是判断 没有includes 方法的 if (!Array.prototype.includes) { Object.defineProperty(Array.prototype, 'includes', { value: function(valueToFind, fromIndex) { 阅读全文
posted @ 2020-07-01 13:29 苍狼一笑 阅读(2663) 评论(0) 推荐(0) 编辑