File: hash-object__write_text_10mb

package info (click to toggle)
libgit2 1.9.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 60,804 kB
  • sloc: ansic: 203,436; javascript: 2,458; sh: 1,763; python: 384; perl: 99; php: 65; makefile: 33
file content (9 lines) | stat: -rwxr-xr-x 290 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
#!/bin/bash -e

. "$(dirname "$0")/benchmark_helpers.sh"

gitbench --prepare "sandbox_repo empty_standard_repo &&
                    create_text_file text_10mb 10485760 &&
                    flush_disk_cache" \
         --chdir "empty_standard_repo" \
         hash-object "../text_10mb"