Performance: Update vs Animation

Hey Guys,
In terms of performance, what is taking fewer resources for a constant rotation of many similar objects?
Should i use a script with an Update function:
transform.Rotate (new Vector3(0,0,Time.deltaTime*rotationSpeed));
Or just use an animation for the objects.

Thank you very much.

i would say go with Update function because I compared both of these methods by applying on 500 coins and noting fps and Update won this

As you can see below is for the Animation (With Animator component) (32.9 FPS)

167452-currentfps2.jpg

and this one is with a script attached to all 500 coins individually (67 FPS)

167453-currentfps.jpg

This depends on the functionality of whatever you want to spin.

Does the spinning interact with other things in the world. Is it pertinent that other objects in the world know the rotation of the object that you’re spinning at every point in time? Or is it just an aesthetic for the ending of a level, or the death of a character?

You need to decide if the fact that the object is spinning is important to other objects in the world or not. The former would call for an Update method for rotation while the latter would call for an animation.

Animation is best and uses less CPU or GPU load.
If you simply want to rotate only use animation.

Another solution is to animate using shader this will move the whole pay load to the gpu