taskunderware - Tasks: task #3299, data asset size summary program

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

task #3299: data asset size summary program

Submitted by:  Loic Dachary <loic>
Submitted on:  Mon 29 May 2006 10:15:36 AM UTC  
 
Should Start On: Tue 30 May 2006 10:00:00 PM UTCShould be Finished on: Tue 30 May 2006 10:00:00 PM UTC
Category: NonePriority: 1 - Later
Status: In ProgressPrivacy: Public
Assigned to: cedric pinson <cpinson>Open/Closed: Open
Effort: 0.00
URL: 

Mon 29 May 2006 10:15:36 AM UTC, original submission:

For each file in the underware data repository (sounds, 3d data, animation data, curves), write a program that returns the size of the uncompressed, in-core memory used. The program takes a single argument, the filename. There may be a different program for each file type.

Write an XML file that maps file extension to the program able to compute the in-core memory usage. The extension is perl regular expression. It also associates a unique mime type to the file, based on the normalized names if they exists. A comment pointing to the file format definition is associated to each mime type. With a one line comment explaining the purpose of the file format.

<memory_usage><mime type="image/tiff" extension=".(tif|tiff)">tiff_compute</mime>....

Write a python script that computes the in-core memory usage of the files read from stdin, one per line, based on the XML file defined above. The ouput is one line per file with the following fields, separated by a field separator (tab by default):

file name, mime type, in-core memory size

The python script must take three options defining the new line character (input and output) and the field separator.

write a bash script that runs the python script on each argument provided on the command line and create a ploticus chart showing the file sizes by mime type (y is mime type, x is cumulated file size, largest file first with filename legend if enough space). The legend of this single chart must show the number of files for each mime type and the total in-memory space.

Create a directory tree with at least a single file for each mime type. In a subdirectory add three files of the same mime type. Write a bash script that runs the bash script described above on all the files of the directory (not the directory itself) and the subdirectory (not the files from the subdirectory) and compare the resulting image to a reference image. Fail if the images are different.

Loic Dachary <loic>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cpinson (Updated the item)
  • -unavailable- added by loic (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 05 Jun 2006 02:14:54 PM UTCcpinsonStatusNone=>In Progress
    Wed 31 May 2006 01:58:35 PM UTCloicShould Start OnSun 28 May 2006 10:00:00 PM UTC=>Tue 30 May 2006 10:00:00 PM UTC
      Should be Finished onSun 28 May 2006 10:00:00 PM UTC=>Tue 30 May 2006 10:00:00 PM UTC
      Assigned toNone=>cpinson
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup