{"id":16061779,"url":"https://github.com/watson1978/motion-benchmark-ips","last_synced_at":"2025-08-31T21:31:36.157Z","repository":{"id":13509128,"uuid":"16200049","full_name":"Watson1978/motion-benchmark-ips","owner":"Watson1978","description":"Provides iteration per second benchmarking for RubyMotion","archived":false,"fork":false,"pushed_at":"2024-04-09T04:13:24.000Z","size":24,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-11T15:56:33.552Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Watson1978.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-01-24T09:20:00.000Z","updated_at":"2024-04-09T04:13:24.000Z","dependencies_parsed_at":"2024-10-09T04:20:32.908Z","dependency_job_id":null,"html_url":"https://github.com/Watson1978/motion-benchmark-ips","commit_stats":{"total_commits":9,"total_committers":2,"mean_commits":4.5,"dds":"0.11111111111111116","last_synced_commit":"20bad7e272af59e14048482d706e014951c5a380"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Watson1978%2Fmotion-benchmark-ips","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Watson1978%2Fmotion-benchmark-ips/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Watson1978%2Fmotion-benchmark-ips/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Watson1978%2Fmotion-benchmark-ips/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Watson1978","download_url":"https://codeload.github.com/Watson1978/motion-benchmark-ips/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231627414,"owners_count":18402607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T04:20:29.685Z","updated_at":"2024-12-28T12:48:36.419Z","avatar_url":"https://github.com/Watson1978.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# motion-benchmark-ips\n\nProvides iteration per second benchmarking for RubyMotion.\nThe original is https://github.com/evanphx/benchmark-ips.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'motion-benchmark-ips'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install motion-benchmark-ips\n\n\n## Usage\n```\nBenchmark.ips do |x|\n  # Typical mode, runs the block as many times as it can\n  x.report(\"addition\") { 1 + 2 }\n\n  # To reduce overhead, the number of iterations is passed in\n  # and the block must run the code the specific number of times.\n  # Used for when the workload is very small and any overhead\n  # introduces incorrectable errors.\n  x.report(\"addition2\") do |times|\n    i = 0\n    while i \u003c times\n      1 + 2\n      i += 1\n    end\n  end\nend\n```\n\n## Premium Support\n\n[motion-benchmark-ips](https://github.com/infinitered/motion-benchmark-ips), as an open source project, is free to use and always will be. [Infinite Red](https://infinite.red/) offers premium motion-benchmark-ips support and general mobile app design/development services. Email us at [hello@infinite.red](mailto:hello@infinite.red) to get in touch with us for more details.\n\n\n## LICENSE:\n\n(The MIT License)\n\n```\nCopyright (c) 2014 Watson\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatson1978%2Fmotion-benchmark-ips","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwatson1978%2Fmotion-benchmark-ips","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatson1978%2Fmotion-benchmark-ips/lists"}