Category: 开发
使用火焰图做性能分析
系统性能的评估维度可能很多,包括应用的吞吐量、响应时间、任务完成时间和资源利用率等。但是这些指标(metrics)仅仅是表象,一旦发现异常,如何从代码级别定位性能问题才是解决问题的关键,本文介绍了一种使用火焰图(Flame Graph)来做性能分析的方法,在实战中具备很高的可操作性和快速pinpoi[……]
JAVA并发编程实战笔记
第二次认真读了Doug Lea的Java Concurrency In Practice这本大作,记录笔记在此链接。
[……]
大塞车游戏活动的算法解
最近在公司组织的培训上,遇到了一个很有意思的算法题,这篇文章就借这个为题提供一个解。
解的代码用Java实现,并配有演示,已经放到了github上https://github.com/neoremind/big-traffic-jam-solver。
首先感谢李培英老师,《职业化[……]
为CVS添加新用户
默认情况下windows的管理员就是Repository的admin,可以用windows的帐户登陆cvs。为repository添加更多的用户的方法: cmd进入Dos
set cvsroot=:pserver:administrator@127.0.0.1:/cvshome cvs logi[……]
cvs同步时描述图标的解释
The synchronize view shows the synchronization state of resources in your workspace compared to those in the repository. This state is shown by using[……]
Ant+Shell脚本更新XML文件节点值
刚刚team member有需求要通过Ant脚本更新XML配置文件里的某个值为true或者false。 记录一下实现的过程: 1. 编写shell脚本,文件名为SNMAPIUpdate.sh
#!/bin/sh if [ $# -ne 2 ];then echo "usage[......]<p class="read-more"><a href="http://neoremind.com/2010/03/antshell%e8%84%9a%e6%9c%ac%e6%9b%b4%e6%96%b0xml%e6%96%87%e4%bb%b6%e8%8a%82%e7%82%b9%e5%80%bc/">继续阅读</a></p> |
Ant自定义宏
Ant脚本project.xml 首先导入宏文件common.xml:
<import file="common.xml" /> <target name="任务:重新启动远端Resin服务器"> <rebootRe[......]<p class="read-more"><a href="http://neoremind.com/2010/02/ant%e8%87%aa%e5%ae%9a%e4%b9%89%e5%ae%8f/">继续阅读</a></p> |