Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved Path#step(boolean) takes very long

Java Warlord
Joined
Nov 17, 2014
Messages
4,906
Unlike path generation, which turns out to be pretty fast as of now, stepping a path takes up to 7 seconds.

Of those 7 seconds, 6 or so are spent doing nothing, then the mouse moves to the minimap and clicks the coordinate as normal.
 
Mod Automation
Joined
Jul 26, 2013
Messages
3,046
Do us a favor. Back up your current biostatistics in a separate location and then delete them. Restart client and see if it improves. If it does, post your biostatistics here. If it does not, let us know that that did not fix it.
 
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
Do us a favor. Back up your current biostatistics in a separate location and then delete them. Restart client and see if it improves. If it does, post your biostatistics here. If it does not, let us know that that did not fix it.
I already removed them, still no improvements. If you need i could still give you my current ones.
 

red

Joined
Nov 17, 2013
Messages
259
I have this same problem, it also gets horribly laggy after a certain amount of time
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
Bug acknowledged, which types of paths are you having the worst experiences with?
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
What I'd really like are some benchmarks for PredefinedPath, BresenhamPath, RegionPath, and WebPath in regards to the amount of time the getNext method takes. I'd like stats for both osrs and rs3 (and going further, legacy interface and modern interface). Can you guys coordinate and come up with some benchmarks for me please? I'm tweaking things now but if you guys can provide me with that information it'll help me out quite a bit.
 
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
What I'd really like are some benchmarks for PredefinedPath, BresenhamPath, RegionPath, and WebPath in regards to the amount of time the getNext method takes. I'd like stats for both osrs and rs3 (and going further, legacy interface and modern interface). Can you guys coordinate and come up with some benchmarks for me please? I'm tweaking things now but if you guys can provide me with that information it'll help me out quite a bit.
@Cloud only getNext() ?
 

red

Joined
Nov 17, 2013
Messages
259
What I'd really like are some benchmarks for PredefinedPath, BresenhamPath, RegionPath, and WebPath in regards to the amount of time the getNext method takes. I'd like stats for both osrs and rs3 (and going further, legacy interface and modern interface). Can you guys coordinate and come up with some benchmarks for me please? I'm tweaking things now but if you guys can provide me with that information it'll help me out quite a bit.
Working on it right now
 
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
Code:
WebPath: 10639ms
RegionPath: 13839ms
BresenhamPath: 8196ms
PredefinedPath: 585ms

WebPath: 9611ms
RegionPath: 14097ms
BresenhamPath: 8244ms
PredefinedPath: 537ms

WebPath: 9350ms
RegionPath: 13419ms
BresenhamPath: 8012ms
PredefinedPath: 564ms

Code:
WebPath: 32ms
RegionPath: 65ms
BresenhamPath: 56ms
PredefinedPath: 3ms

WebPath: 19ms
RegionPath: 44ms
BresenhamPath: 27ms
PredefinedPath: 3ms

WebPath: 27ms
RegionPath: 42ms
BresenhamPath: 27ms
PredefinedPath: 3ms

@Cloud @Arbiter
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
Code:
WebPath: 10639ms
RegionPath: 13839ms
BresenhamPath: 8196ms
PredefinedPath: 585ms

WebPath: 9611ms
RegionPath: 14097ms
BresenhamPath: 8244ms
PredefinedPath: 537ms

WebPath: 9350ms
RegionPath: 13419ms
BresenhamPath: 8012ms
PredefinedPath: 564ms

Code:
WebPath: 32ms
RegionPath: 65ms
BresenhamPath: 56ms
PredefinedPath: 3ms

WebPath: 19ms
RegionPath: 44ms
BresenhamPath: 27ms
PredefinedPath: 3ms

WebPath: 27ms
RegionPath: 42ms
BresenhamPath: 27ms
PredefinedPath: 3ms

@Cloud @Arbiter
Thanks for the data but I also need to know the amount of vertices in each path to be helpful :p
 
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
Thanks for the data but I also need to know the amount of vertices in each path to be helpful :p
alright :p I assume only rs3 data will do? Since OSRS seems to be fine.

Edit:
Did 3 tests from near, medium, and far distance.

Code:
WebPath: 7981ms
(16 vertices)

RegionPath: 6774ms
(23 vertices)

BresenhamPath: 3742ms
(13 vertices)

PredefinedPath: 551ms
(2 vertices)




WebPath: 11499ms
(33 vertices)

RegionPath: 17798ms
(64 vertices)

BresenhamPath: 9134ms
(33 vertices)

PredefinedPath: 1087ms
(4 vertices)




WebPath: 8252ms
(35 vertices)

RegionPath: 10245ms
(69 vertices)

BresenhamPath: 9162ms
(51 vertices)

PredefinedPath: 623ms
(4 vertices)

@Cloud
 
Last edited:
Engineer
Joined
Jul 28, 2013
Messages
2,776
Thanks for the debug information guys, I've just released an update which should accelerate things considerably on both osrs and rs3. I'd be interested in seeing benchmarks for the new release.
 
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
Thanks for the debug information guys, I've just released an update which should accelerate things considerably on both osrs and rs3. I'd be interested in seeing benchmarks for the new release.
Code:
WebPath: 9512ms
(25 vertices)

RegionPath: 11634ms
(53 vertices)

BresenhamPath: 6426ms
(29 vertices)

PredefinedPath: 495ms
(2 vertices)


WebPath: 8409ms
(25 vertices)

RegionPath: 11968ms
(53 vertices)

BresenhamPath: 6502ms
(29 vertices)

PredefinedPath: 484ms
(2 vertices)

@Cloud It's the version you just released, restarted everything. No idea why it did not even go down a slightest bit.
 
Code:
Coordinate(3104, 3230, 0)
Coordinate(3102, 3232, 0)
Coordinate(3102, 3232, 0)
Coordinate(3102, 3232, 0)
Coordinate(3102, 3232, 0)
Coordinate(3102, 3232, 0)
Coordinate(3102, 3232, 0)
Coordinate(3102, 3232, 0)
Coordinate(3102, 3232, 0)
Coordinate(3102, 3232, 0)
Coordinate(3102, 3232, 0)
Coordinate(3102, 3232, 0)
Coordinate(3104, 3230, 0)
Coordinate(3104, 3230, 0)
Coordinate(3104, 3230, 0)
Coordinate(3104, 3230, 0)
Coordinate(3104, 3230, 0)
Coordinate(3104, 3230, 0)
Coordinate(3104, 3230, 0)
Coordinate(3104, 3230, 0)
Coordinate(3104, 3230, 0)
Coordinate(3104, 3230, 0)
Coordinate(3104, 3230, 0)
Coordinate(3104, 3230, 0)
Coordinate(3104, 3230, 0)
BresenhamPath average: 5319ms

Code:
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
com.runemate.game.api.hybrid.location.navigation.web.vertex_types.CoordinateVertex(3109, 3232, 0)
WebPath average: 5985ms

Code:
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
Coordinate(3106, 3232, 0)
RegionPath average: 8850ms

@Cloud
 
Top