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

time measurement #44

Open
ghost opened this issue Dec 30, 2013 · 7 comments
Open

time measurement #44

ghost opened this issue Dec 30, 2013 · 7 comments

Comments

@ghost
Copy link

ghost commented Dec 30, 2013

When calling a overpass query the user maybe desires to know about the execution time over the overpass query and downloading time of the data.
Can these steps be visualized if the waiting window? Or in a special meta tab (including human readable content size), etc...?

@mmd-osm
Copy link
Contributor

mmd-osm commented Jan 2, 2014

In addition it would be interesting to see how many minutes the Overpass API lags behind. While in the long run overpass-api.de should be back to 1-2 minutes, we currently experience up to 10-30 minutes in delay during peak hours. An unsuspecting user might not be aware of this situation.

Relevant Info: see Overpass API response in attribute osm_base: <meta osm_base="2014-01-02T20:21:02Z"/>

@ghost
Copy link
Author

ghost commented Jan 2, 2014

What about the distance of all returned ways?

@tyrasd
Copy link
Owner

tyrasd commented Jan 17, 2014

Yeah, additional stats would be nice. I'm thinking about implementing this as a hover state of the current object counter in the bottom right.

tyrasd added a commit that referenced this issue May 30, 2014
displaying the "currentness of data" aka lag behind OSM db (see #44)
@tyrasd
Copy link
Owner

tyrasd commented May 30, 2014

As a first step, I've now added a lag to OSM db info as a tooltip of the current stats display in the bottom right corner (try it on the beta @ http://overpass-turbo.eu/master/). I'll add more stuff if this turns out to be a good solution. btw: @JotPe I fear that in browser-javascript one doesn't get the information about when the actual receiving of data begins, so a query execution time measurement will be out of scope, unfortunately… (except if the Overpass API would provide that information as a HTTP header or something) //cc @drolbr

@ghost
Copy link
Author

ghost commented Jun 26, 2014

@tyrasd thanks for tooltip. Wouldn't be a seperate tab a better solution? I guess in future more meta infos will be printed (way distance!?) Regards Johannes

@ghost
Copy link
Author

ghost commented Jun 26, 2014

I watched the time lag behind osm data increases with time. In the new meta tab it's necessary to display timestamp of query, timestamp of finish, static osm data lag and your actual behind osm data lag.

@tyrasd
Copy link
Owner

tyrasd commented Jun 28, 2014

Yes, the tooltip is probably only a intermediate solution. (I didn't want to "waste" a tab for only one or two additional stats as in the current state. Once we have more to show, a tab is probably the best solution.)

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

No branches or pull requests

2 participants