File: loop_with_one_alloc.py

package info (click to toggle)
scalene 1.5.51-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 15,528 kB
  • sloc: cpp: 22,930; python: 13,403; javascript: 11,769; ansic: 817; makefile: 196; sh: 45
file content (12 lines) | stat: -rw-r--r-- 214 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12

def main():
    accum = bytes()
    for i in range(31):
        accum += bytes(2 * 10485767) # 2x the allocation sampling window
        

    asdf = bytes(2 * 10485767)

    
if __name__ == '__main__':
    main()