Skip to content

sooyang/query_speed_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Simple project to simulate the speed of querying and counting.

Steps to setup project

  • git clone this project
  • bundle install
  • Enter rails c
  • Seed the data for example 1000.times {Project.new(status: [0,1].sample, team_lead_action_time: [Time.current, nil].sample, manager_action_time: [Time.current, nil].sample).save}
  • Run the following methods to get the benchmark value Project.report

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published