Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • david/sda
  • naima/sda
  • tomeh/sda
3 results
Show changes
Commits on Source (6)
......@@ -14,7 +14,7 @@ sda:test:
- grep my_plot_result launch_analysis.sh
- ALPHA=$(head -n 1 AUTHORS.md)
- echo "ALPHA ${ALPHA}"
- ls -lF plots/*_alpha_${TEST}.pdf
- ls -lF plots/*_alpha_${ALPHA}.pdf
- echo "Exercice 4"
- ls -lF RAPPORT.md
......
......@@ -21,7 +21,7 @@ __list_entry_size__ = 8
wasted_memory = sys.getsizeof(a)-__list_header_size__
for i in range(100):
for i in range(1000000):
previous_size = sys.getsizeof(a)
before = time.time()
a.append(i)
......
......@@ -18,8 +18,13 @@ Vos travaux seront évalués une fois à mi-semestre et une fois à la fin du se
## Exercice 1: git
### Clonez le projet sda sur votre compte étudiant
Dans votre terminal, placez vous dans le répertoire où vous souhaitez créer le dossier
`git clone git@depot.lipn.univ-paris13.fr:david/sda.git`
Dans votre terminal, commencez par la configuration de votre utilisateur git:
git config --global user.name "NOM_PRENOM"
(le reste du TP peut se faire à partir de n'importe quelle session)
Placez vous dans le répertoire où vous souhaitez créer le dossier
`git clone https://depot.lipn.univ-paris13.fr/david/sda.git`
`cd sda`
......@@ -50,6 +55,9 @@ Ajoutez ensuite ce fichier au projet
### Poussez votre branche sur gitlab
`git push -u origin tp1_NUMERO1_NUMERO2`
Login : `tp_sda`
Mot de passe : `structure`
### Vérifiez sur gitlab
Sur la page de gitlab:
......
......@@ -14,7 +14,7 @@ set ylabel "Temps amorti" font "Helvetica,24"
# Nom du fichier Postscript en sortie
set output 'dynamic_array_amortized_time_alpha_2.pdf'
plot [0:1000000][0:600] 'dynamic_array_time_c.plot' using 1:3 w lines title "Amortized C", 'dynamic_array_time_cpp.plot' using 1:3 w lines title "Amortized C++", 'dynamic_array_time_java.plot' using 1:3 w lines title "Amortized JAVA", 'dynamic_array_time_python.plot' using 1:3 w lines title "Amortized Python"
plot [0:1000000][0:600] 'dynamic_array_time_c_alpha_2.plot' using 1:3 w lines title "Amortized C", 'dynamic_array_time_cpp_alpha_2.plot' using 1:3 w lines title "Amortized C++", 'dynamic_array_time_java_alpha_2.plot' using 1:3 w lines title "Amortized JAVA", 'dynamic_array_time_python_alpha_2.plot' using 1:3 w lines title "Amortized Python"
###############################################################
########### Affichage de l'espace mémoire gaspillé ###########
......@@ -25,7 +25,7 @@ set ylabel "Memoire gaspillee" font "Helvetica,24"
# Nom du fichier Postscript en sortie
set output 'dynamic_array_wasted_memory_alpha_2.pdf'
plot 'dynamic_array_memory_c.plot' using 1:2 w lines title "Espace memoire inutilise C", 'dynamic_array_memory_python.plot' using 1:2 w lines title "Espace memoire inutilise Python"
plot 'dynamic_array_memory_c_alpha_2.plot' using 1:2 w lines title "Espace memoire inutilise C", 'dynamic_array_memory_python_alpha_2.plot' using 1:2 w lines title "Espace memoire inutilise Python"
#################################################################
########### Affichage du nombre de copies effectuées ###########
......@@ -36,4 +36,4 @@ set ylabel "Nombre de copies effectuees" font "Helvetica,24"
# Nom du fichier Postscript en sortie
set output 'dynamic_array_copy_alpha_2.pdf'
plot 'dynamic_array_copy_c.plot' using 1:2 w boxes title "Nombre de copies de valeurs effectuees C", 'dynamic_array_copy_python.plot' using 1:2 w boxes title "Nombre de copies de valeurs effectuees Python"
\ No newline at end of file
plot 'dynamic_array_copy_c_alpha_2.plot' using 1:2 w boxes title "Nombre de copies de valeurs effectuees C", 'dynamic_array_copy_python_alpha_2.plot' using 1:2 w boxes title "Nombre de copies de valeurs effectuees Python"
\ No newline at end of file