<commit_before>apiVersion: batch/v1
kind: Job
metadata:
  labels:
    jobName: serverless-benchmark
  name: serverless-benchmark
spec:
  template:
    metadata:
      labels:
        jobName: serverless-benchmark
      name: serverless-benchmark
    spec:
      shareProcessNamespace: true
      containers:
      - command:
        - bash
        - -c
        - |
          echo "--------------------------------------------------------------------------------"
          echo "Collecting Serverless benchmarks..."
          echo "--------------------------------------------------------------------------------"
          /home/locust/run-benchmarks.sh 
          pkill -f /usr/local/bin/pilot-agent
        env:
        - name: "NAMESPACE"
          valueFrom:
            fieldRef:
              fieldPath: metadata.namespace
        - name: "CONCURRENCY"
          value: "50"
        - name: "DURATION"
          value: "1m"
        - name: "SPAWN_RATE"
          value: "50"
        image: eu.gcr.io/kyma-project/serverless-bench:PR-13291
        imagePullPolicy: Always
        name: serverless-benchmark
        resources: {}
      dnsPolicy: ClusterFirst
      restartPolicy: Never
<commit_msg>use post-main image (#13293)<commit_after>apiVersion: batch/v1
kind: Job
metadata:
  labels:
    jobName: serverless-benchmark
  name: serverless-benchmark
spec:
  template:
    metadata:
      labels:
        jobName: serverless-benchmark
      name: serverless-benchmark
    spec:
      shareProcessNamespace: true
      containers:
      - command:
        - bash
        - -c
        - |
          echo "--------------------------------------------------------------------------------"
          echo "Collecting Serverless benchmarks..."
          echo "--------------------------------------------------------------------------------"
          /home/locust/run-benchmarks.sh 
          pkill -f /usr/local/bin/pilot-agent
        env:
        - name: "NAMESPACE"
          valueFrom:
            fieldRef:
              fieldPath: metadata.namespace
        - name: "CONCURRENCY"
          value: "50"
        - name: "DURATION"
          value: "1m"
        - name: "SPAWN_RATE"
          value: "50"
        image: eu.gcr.io/kyma-project/serverless-bench:39924f11
        imagePullPolicy: Always
        name: serverless-benchmark
        resources: {}
      dnsPolicy: ClusterFirst
      restartPolicy: Never

{'fraction_non_alphanumeric': 0.21337185307470077, 'fraction_numerical': 0.011968633924886504, 'mean_word_length': 1.1759425493716338, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5999053', 'n_tokens_mistral': 658, 'n_tokens_neox': 635, 'n_words': 133}