Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance improvement #35

Open
chrissy25 opened this issue Nov 18, 2015 · 3 comments
Open

Performance improvement #35

chrissy25 opened this issue Nov 18, 2015 · 3 comments

Comments

@chrissy25
Copy link

Hi,

for Chrome and Firefox the library is working fine, but for IE I have some performace problems, especially during the initial load of the map, this takes very long and the IE will freeze for some time.

I would like to know what does the library do in the initial load? What is the most time consuming operation? I would like to have a look into the code to check if it could be improved, but wanted to cross check first, if you already know what the most time consuming parts are :)

@jraller
Copy link
Member

jraller commented Nov 19, 2015

There is a way to generate the map traversal in advance and cache that
which speeds up the load process greatly. We haven't documented that part
well yet, but are using it in production.

On Wed, Nov 18, 2015 at 3:40 AM chrissy25 [email protected] wrote:

Hi,

for Chrome and Firefox the library is working fine, but for IE I have some
performace problems, especially during the initial load of the map, this
takes very long and the IE will freeze for some time.

I would like to know what does the library do in the initial load? What is
the most time consuming operation? I would like to have a look into the
code to check if it could be improved, but wanted to cross check first, if
you already know what the most time consuming parts are :)


Reply to this email directly or view it on GitHub
#35.

@chrissy25
Copy link
Author

Could you describe me how to use it or give me a hint on this? We would like to use it for relativly big maps and the browser which is used most is the Internet Explorer for us ... so we need to improve the performance a little bit^^

@jraller
Copy link
Member

jraller commented Nov 19, 2015

The https://github.com/ucdavis/wayfinding/blob/master/tasks/datastores.js file
can be used to pre parse the maps, and in the test folder there are
examples of this in use
https://github.com/ucdavis/wayfinding/blob/master/test/datastore-test.js

On Thu, Nov 19, 2015 at 12:13 PM chrissy25 [email protected] wrote:

Could you describe me how to use it or give me a hint on this? We would
like to use it for relativly big maps and the browser which is used most is
the Internet Explorer for us ... so we need to improve the performance a
little bit^^


Reply to this email directly or view it on GitHub
#35 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants