Changes

Jump to: navigation, search

The Real A Team

1,012 bytes added, 19:26, 21 March 2016
Determining Author By Style Of Writing
=== Assignment ===
 
The program I wrote relies on one single loop to run through a piece of text. It has no dependencies, so it can easily be parallelized using the methods discussed in this class.
 
====Timing====
 
To time the program I used various pieces of text. I used text from 3 authors, with varying lengths. I used 2 Shakespeare works (long - 46,956 words 250,234 characters), 2 assignments I completed for school (medium - 1,885 words 11,336 characters), and 2 blog posts that were written by the same author (short - 869 words 4,997 characters).
 
=====Serial Timing=====
 
{| class="wikitable"
|+ Time for serial program run
! Author!! Character Count !! Time (milliseconds)
|-
| Shakespeare || 250,234 || 157
|-
| Adrian Sauvageot|| 11,336 || 7
|-
| Blog Post|| 4,997 || 3
|}
 
 
=====OpenMP Timing=====
 
{| class="wikitable"
|+ Time for OpenMP parallel program run
! Author!! Character Count !! Time (milliseconds)
|-
| Shakespeare || 250,234 || 72
|-
| Adrian Sauvageot|| 11,336 || 17
|-
| Blog Post|| 4,997 || 7
|}

Navigation menu