Which of the following is better in terms of performance and speed? I am creating a view and then using views_get_view_result() function to get the query and print a csv file 
or 
Creating a query using db_select and then using it to  print the csv.
Which of the above would give me quicker results
db_select would give quicker results as it doesn't invoke the entire Views API to get that database result set. However, Views will give you the benefit of a highly configurable user interface to adjust your query which may save on development time.