- https://rubygems.org hosts the Ruby gem for Ruby on Rails.
- The current stable version number of Rails is 5.1.4, with 5.2.0.beta2 being the overall latest version.
- As of this writing, Ruby on Rails has been downloaded 118,011,892 across all versions.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { makeAutoObservable, makeObservable, observable } from "mobx"; | |
import { DataModel, Model, model, prop } from "mobx-keystone"; | |
import { types } from "mobx-state-tree"; | |
function bench(f: () => { value: number }) { | |
// Warmup | |
let sum = 0; | |
for (let index = 0; index < 100_000; ++index) { | |
sum += f().value; | |
} |