Initial Commit
- initial default booting image
This commit is contained in:
10
support/testing/tests/package/sample_python_memray.py
Normal file
10
support/testing/tests/package/sample_python_memray.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# The test needs some code to profile, it does not have to be much.
|
||||
|
||||
def run(a):
|
||||
print(a[0])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
# make sure there's at least a small allocation
|
||||
a = ['Hello World!']
|
||||
run(a)
|
||||
Reference in New Issue
Block a user