You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: double_entry_performance_spec.rb
    path of file: ./repos/double_entry/spec/performance
    
    the code of the file until where you have to start completion: module DoubleEntry
  RSpec.describe DoubleEntry do
    describe 'transfer performance' do
      include PerformanceHelper
      let(:user) { create(:user) }
      let(:amount) { Money.new(10_00) }
 
    
    def profile_transfers_with_metadata(metadata, profile_name = nil)
      start_profiling
      options = { from: test, to: savings, code: :bonus }
      options[:metadata] = metadata if metadata
      100.times { Transfer.transfer(amount, options) }
      profile_name ||= 'transfer'
      stop_profiling(profile_name)
    end