|
| 1 | +{ |
| 2 | + "evaluations": [ |
| 3 | + { |
| 4 | + "cpu_units": 633439, |
| 5 | + "description": "Factorial of 0 should return 1 (mathematical definition)", |
| 6 | + "execution_result": "success", |
| 7 | + "memory_units": 3302, |
| 8 | + "name": "factorial_0" |
| 9 | + }, |
| 10 | + { |
| 11 | + "cpu_units": 633439, |
| 12 | + "description": "Factorial of 1 should return 1", |
| 13 | + "execution_result": "success", |
| 14 | + "memory_units": 3302, |
| 15 | + "name": "factorial_1" |
| 16 | + }, |
| 17 | + { |
| 18 | + "cpu_units": 1282939, |
| 19 | + "description": "Factorial of 2 should return 2", |
| 20 | + "execution_result": "success", |
| 21 | + "memory_units": 5408, |
| 22 | + "name": "factorial_2" |
| 23 | + }, |
| 24 | + { |
| 25 | + "cpu_units": 1932439, |
| 26 | + "description": "Factorial of 3 should return 6", |
| 27 | + "execution_result": "success", |
| 28 | + "memory_units": 7514, |
| 29 | + "name": "factorial_3" |
| 30 | + }, |
| 31 | + { |
| 32 | + "cpu_units": 2581939, |
| 33 | + "description": "Factorial of 4 should return 24", |
| 34 | + "execution_result": "success", |
| 35 | + "memory_units": 9620, |
| 36 | + "name": "factorial_4" |
| 37 | + }, |
| 38 | + { |
| 39 | + "cpu_units": 3231439, |
| 40 | + "description": "Factorial of 5 should return 120", |
| 41 | + "execution_result": "success", |
| 42 | + "memory_units": 11726, |
| 43 | + "name": "factorial_5" |
| 44 | + }, |
| 45 | + { |
| 46 | + "cpu_units": 5179939, |
| 47 | + "description": "Factorial of 8 should return 40320", |
| 48 | + "execution_result": "success", |
| 49 | + "memory_units": 18044, |
| 50 | + "name": "factorial_8" |
| 51 | + }, |
| 52 | + { |
| 53 | + "cpu_units": 6478939, |
| 54 | + "description": "Factorial of 10 should return 3628800 (original benchmark target)", |
| 55 | + "execution_result": "success", |
| 56 | + "memory_units": 22256, |
| 57 | + "name": "factorial_10" |
| 58 | + }, |
| 59 | + { |
| 60 | + "cpu_units": 7777939, |
| 61 | + "description": "Factorial of 12 should return 479001600", |
| 62 | + "execution_result": "success", |
| 63 | + "memory_units": 26468, |
| 64 | + "name": "factorial_12" |
| 65 | + }, |
| 66 | + { |
| 67 | + "cpu_units": 633439, |
| 68 | + "description": "Factorial of negative number should return 1 based on current implementation (n <= 0 case)", |
| 69 | + "execution_result": "success", |
| 70 | + "memory_units": 3302, |
| 71 | + "name": "factorial_negative" |
| 72 | + } |
| 73 | + ], |
| 74 | + "execution_environment": { |
| 75 | + "evaluator": "unknown" |
| 76 | + }, |
| 77 | + "measurements": { |
| 78 | + "block_cpu_budget_pct": 0.0194448475, |
| 79 | + "block_memory_budget_pct": 0.04269032258064516, |
| 80 | + "cpu_units": { |
| 81 | + "maximum": 7777939, |
| 82 | + "median": 2257189, |
| 83 | + "minimum": 633439, |
| 84 | + "sum": 30365890, |
| 85 | + "sum_negative": 0, |
| 86 | + "sum_positive": 30365890 |
| 87 | + }, |
| 88 | + "execution_fee_lovelace": 8591, |
| 89 | + "memory_units": { |
| 90 | + "maximum": 26468, |
| 91 | + "median": 8567, |
| 92 | + "minimum": 3302, |
| 93 | + "sum": 110942, |
| 94 | + "sum_negative": 0, |
| 95 | + "sum_positive": 110942 |
| 96 | + }, |
| 97 | + "reference_script_fee_lovelace": 720, |
| 98 | + "script_size_bytes": 48, |
| 99 | + "scripts_per_block": 2342, |
| 100 | + "scripts_per_tx": 528, |
| 101 | + "term_size": 41, |
| 102 | + "total_fee_lovelace": 9311, |
| 103 | + "tx_cpu_budget_pct": 0.07777939, |
| 104 | + "tx_memory_budget_pct": 0.18905714285714284 |
| 105 | + }, |
| 106 | + "scenario": "factorial_naive_recursion", |
| 107 | + "timestamp": "2025-11-25T13:50:57Z", |
| 108 | + "version": "1.0.0", |
| 109 | + "notes": "Generated using UPLC-CAPE measure tool" |
| 110 | +} |
0 commit comments