Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Tracking database speed

Featured Replies

I'd like to display on web pages how long it took the database to generate a page, and I would like to be accurate to the millisecond level. For example, "This search took 1.242 seconds to complete." Is there any way to do this with FileMaker?

Not with FileMaker. You can do that with JavaScript.

  • Author

Could you use JavaScript to measure the speed of the page generation on the server (which is what I would like to do), or would it only measure the entire process, including sending the request across the internet, receiving the response, downloading graphics, etc.

I think it will be possible to measure the entire process, but without graphics (always bad idea to serve them through FM).

To do it in FM will require some plugin and writing and reading to/from field.

  • 2 weeks later...

"Could you use JavaScript to measure the speed of the page generation on the server (which is what I would like to do)..."

From observing sites which have mentioned transaction times, I note that the timing notice is sometimes displayed on what appears to be a meta redirect page. On such a page there needs be no graphics.

Since I do not have experience in timing events such as your interest, I hope you find this observation useful.

  • Author

Keith, thanks for the suggestion. I actually got this to work quite well using the Web Services Connector servlet for Apache & FileMaker.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.