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: controller_runtime.rb
    path of file: ./repos/rails_server_timings/lib/rails_server_timings
    
    the code of the file until where you have to start completion: module RailsServerTimings
  module ControllerRuntime
    def process_action(*args)
      callback = lambda do |*_|
        event = ActiveSupport::Notifications::Event.new(*_)
        payload = event.payload
        timings = []

        payload.each do |key, value|
          if key.to_s =~ /\w+_runtime$/
            timings << ("#{key.to_s.chomp('_runtime')}
    
    def process_action(*args)
      callback = lambda do |*_|
        event = ActiveSupport::Notifications::Event.new(*_)
        payload = event.payload
        timings = []

        payload.each do |key, value|
          if key.to_s =~ /\w+_runtime$/
            timings << ("#{key.to_s.chomp('_runtime')}; dur=%.3f" % value.to_f)
          end
        end

        timings << ('total; dur=%.3f' % event.duration.to_f)

        response.headers['Server-Timing'] = timings.join(', ')
      end