{"id":92937,"library":"absolute-time","title":"AbsoluteTime","description":"This gem provides a monotonically increasing timer to permit safe measurement of time intervals.","status":"active","version":"1.0.0","language":"ruby","source_language":null,"source_url":"https://github.com/bwbuchanan/absolute_time","tags":["monotonic","timer","time","measurement","performance"],"install":[{"cmd":"gem install absolute_time","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'absolute_time', '~> 1.0.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"AbsoluteTime","correct":"require 'absolute_time'"}],"quickstart":{"code":"require 'absolute_time'\n\nt1 = AbsoluteTime.now\nsleep(1)\nt2 = AbsoluteTime.now\nputs \"Elapsed: #{t2 - t1} seconds\"","lang":"ruby","description":"Measure a time interval using a monotonic clock."},"warnings":[{"fix":"Do not use AbsoluteTime for absolute timestamps; use Time.now for that.","message":"The time values returned by AbsoluteTime cannot be interpreted as real time clock values; they are only useful for comparison.","severity":"gotcha","affected_versions":">= 1.0.0"}],"env_vars":null,"search_vec":"'absolutetim':1 'gem':3 'increas':7 'interv':15 'measur':12,19 'monoton':6,16 'perform':20 'permit':10 'provid':4 'safe':11 'time':14,18 'timer':8,17","created_at":"2026-06-19T09:40:32.316836+00:00","updated_at":"2026-06-19T09:40:32.316836+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/bwbuchanan/absolute_time","github":"https://github.com/bwbuchanan/absolute_time","docs":"http://www.rubydoc.info/gems/absolute_time/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}