From 971df12c95bfa17459d042857e5200f4a7f60cd4 Mon Sep 17 00:00:00 2001 From: akhilbatra898 Date: Tue, 25 Jul 2017 03:30:18 +0530 Subject: Implement benchmark running and logging the output - Run benchmark by adding new tasks - Modify Task model to have log as log files - Add new urls for respective views - Module for running benchmarks in background - Updating status of tasks - Listing and detailed log of all tasks - Add corresponding html templates Change-Id: I244d1bb74949eeb470c738363f6917191e0f052d Signed-off-by: akhilbatra898 --- .../bench/migrations/0006_auto_20170722_0135.py | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 qtip/web/bench/migrations/0006_auto_20170722_0135.py (limited to 'qtip/web/bench/migrations/0006_auto_20170722_0135.py') diff --git a/qtip/web/bench/migrations/0006_auto_20170722_0135.py b/qtip/web/bench/migrations/0006_auto_20170722_0135.py new file mode 100644 index 00000000..5d066702 --- /dev/null +++ b/qtip/web/bench/migrations/0006_auto_20170722_0135.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.3 on 2017-07-22 01:35 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('bench', '0005_auto_20170720_2115'), + ] + + operations = [ + migrations.AddField( + model_name='task', + name='status', + field=models.CharField(choices=[('P', 'Pending'), ('IP', 'In progress'), ('F', 'Finished')], default='P', max_length=20), + ), + migrations.AlterField( + model_name='task', + name='log', + field=models.FileField(upload_to='logs'), + ), + ] -- cgit 1.2.3-korg