code: public static ProfilingRecord addProfiling(long execTimeMs, String command, long durationMs) {
          ProfilingRecord record = new ProfilingRecord(execTimeMs, command, durationMs);
          List<ProfilingRecord> records = profilingRecords.get();
          records.add(record);
          while (records.size() > 100) {
              records.remove(0);
          }
          return record;
      }
docs: Adds a new profiling record.
  
  @param execTimeMs
  @param command
  @return