Hi All, Is it possible that the slowness is in SUMO side of traci for this particular function?
Getting current edge of a vehicle is significantly slower than usual traci requests for me. Any simple test I could do? I guess via python, but difficult for me to do a like for like test without rebuilding a whole lot Thanks <div>-------- Original message --------</div><div>From: Enrico Gueli <[email protected]> </div><div>Date:17/03/2014 09:44 (GMT+00:00) </div><div>To: [email protected] </div><div>Cc: [email protected] </div><div>Subject: Re: [Traci4j-user] Time taken for queryReadCurrentEdge seems quite high </div><div> </div>Hi, are you running on Linux or Windows? If using Linux, try pulling the master branch (if you didn't do so in the last 11-12 days) and add the parameter -Dit.polito.appeal.traci.tcp_nodelay=true (for more info see https://github.com/egueli/TraCI4J/pull/7) Best regards, Enrico 2014-03-16 18:29 GMT+01:00 <[email protected]>: > Hi, > > For some calculations, I want to retrieve each vehicles current edge > at each timestep. > > Most extracts I get (speed, position, etc etc) all return pretty > quickly. But for some reason, calling: > > Edge currentEdge = vehicle.queryReadCurrentEdge().get(); > > Takes about 5ms per vehicle. So as soon as I'm running with a > significant number of vehicles, everything runs really slowly. > > Do you know if this is an issue in traci4j, or in SUMO? I'm running > against SUMO 0.19 currently. > > Thanks > > Vincent > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Traci4j-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/traci4j-user -- Enrico ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
