Sha256: 43b80f09e09c0f2b56f86a0589a4f88d0b7a2189bfcaa1995ceb52a3420887c3
Contents?: true
Size: 479 Bytes
Versions: 34
Compression:
Stored size: 479 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' feature 'Large questionnaires', benchmark: true do scenario 'should be fast to build from DSL' do Quby::Questionnaires::DSL.build('vlq') do title 'VLQ' (1..2000).each do |i| question :"v_#{i}", type: :radio do title "Question #{i}" (1..10).each do |j| option :"a#{j}", value: j, description: "Q#{i} Option #{j}" end end end end end end
Version data entries
34 entries across 34 versions & 1 rubygems