@Test
public void testPerformance() {

    PolygonPointPath pointPath=new PolygonPointPath();
    List<Vector3> paths=null;
    long start=TimeUtil.currentTimeMillis();
    for(int i=0;i<10000;i++) {
          paths = navMesh.findPath(new Vector3(61,13,191), new Vector3(107,11,146), pointPath);         //1
          paths = navMesh.findPath(new Vector3(61,13,191), new Vector3(305,35,213),  pointPath);          //2
          paths = navMesh.findPath(new Vector3(28f,27.6f,111f), new Vector3(50,28,100),  pointPath);          //3
          paths = navMesh.findPath(new Vector3(28f,27.6f,111f), new Vector3(221.4f,70,161.3f),  pointPath);     //4 
          paths = navMesh.findPath(new Vector3(28f,27.6f,111f), new Vector3(176.5f,19.8f,41.3f),  pointPath);     //5 
      	paths = navMesh.findPath(new Vector3(66f,70f,146f), new Vector3(232f,37f,186f),  pointPath);		//6
      	paths = navMesh.findPath(new Vector3(60.27f,0f,495.56f), new Vector3(429.0f,0f,125.0f),  pointPath);		//7
      	paths = navMesh.findPath(new Vector3(12f,0f,505f), new Vector3(407f,0f,95f),  pointPath);		//8
      	paths = navMesh.findPath(new Vector3(373f,0f,247f), new Vector3(353f,0f,213f),  pointPath);		//9
    	paths = navMesh.findPath(new Vector3(27,16f,482f), new Vector3(87f,13f,898f),  pointPath);		//10
    }
    System.err.println("耗时："+(TimeUtil.currentTimeMillis()-start));
    if(paths!=null) {
        paths.forEach(p->System.out.println(p.toString()));
    }
}