Falconsˈfɒlkən, ˈfɔːl-, ˈfl-/) are birds of prey in the genus Falco, which includes about 40 species. Some small species of falcons with long, narrow wings are called hobbies,[7] and some that hover while hunting are called kestrels.[7][8] Falcons are widely distributed on all continents of the world except Antarctica, though closely related raptors did occur there in the Eocene.[9]
Adult falcons have thin, tapered wings, which enable them to fly at high speed and change direction rapidly. Fledgling falcons, in their first year of flying, have longer flight feathers, which make their configuration more like that of a general-purpose bird such as a broadwing. This makes flying easier while still learning the aerial skills required to be effective hunters like the adults.
The largest falcon is the gyrfalcon at up to 65 cm (26 in) in length. The smallest falcon species is the pygmy falcon, which measures just 20 cm (7.9 in). As with hawks and owls, falcons exhibit sexual dimorphism, with the females typically larger than the males, thus allowing a wider range of prey species.[10]
As is the case with many birds of prey, falcons have exceptional powers of vision; the visual acuity of one species has been measured at 2.6 times that of human eyes.[11] They are incredibly fast fliers, with the Peregrine falcons having been recorded diving at speeds of 320 km/h (200 mph), making them the fastest-moving creatures on Earth; the fastest recorded dive attained a vertical speed of 390 km/h (240 mph).[12]
The genus Falco was introduced in 1758 by the Swedish naturalist Carl Linnaeus in the tenth edition of his Systema Naturae.[13] The type species is the merlin (Falco columbarius).[14] The genus name Falco is Late Latin meaning a "falcon" from falx, falcis, meaning "a sickle", referring to the claws of the bird.[15][16] In Middle English and Old French, the title faucon refers generically to several captive raptor species.[17]
The traditional term for a male falcon is tercel (British spelling) or tiercel (American spelling), from the Latin tertius (third) because of the belief that only one in three eggs hatched a male bird. Some sources give the etymology as deriving from the fact that a male falcon is about one-third smaller than a female[18][19][20] (Old French: tiercelet). A falcon chick, especially one reared for falconry, still in its downy stage, is known as an eyas[21][22] (sometimes spelled eyass). The word arose by mistaken division of Old French un niais, from Latin presumed nidiscus (nestling) from nidus (nest). The technique of hunting with trained captive birds of prey is known as falconry.
Compared to other birds of prey, the fossil record of the falcons is not well distributed in time. For years, the oldest fossils tentatively assigned to this genus were from the Late Miocene, less than 10 million years ago.[23] This coincides with a period in which many modern genera of birds became recognizable in the fossil record. As of 2021, the oldest falconid fossil is estimated to be 55 million years old.[24][25] Given the distribution of fossil and living Falco taxa, falcons are probably of North American, African, or possibly Middle Eastern or European origin. Falcons are not closely related to other birds of prey, and their nearest relatives are parrots and songbirds.[26]
Falcons are roughly divisible into three or four groups. The first contains the kestrels (probably excepting the American kestrel);[17] usually small and stocky falcons of mainly brown upperside colour and sometimes sexually dimorphic; three African species that are generally gray in colour stand apart from the typical members of this group. The fox and greater kestrels can be told apart at first glance by their tail colours, but not by much else; they might be very close relatives and are probably much closer to each other than the lesser and common kestrels. Kestrels feed chiefly on terrestrial vertebrates and invertebrates of appropriate size, such as rodents, reptiles, or insects.
The second group contains slightly larger (on average) species, the hobbies and relatives. These birds are characterized by considerable amounts of dark slate-gray in their plumage; their malar areas are nearly always black. They feed mainly on smaller birds.
Third are the peregrine falcon and its relatives, variably sized powerful birds that also have a black malar area (except some very light color morphs), and often a black cap, as well. They are very fast birds with a maximum speed of 390 kilometres per hour. Otherwise, they are somewhat intermediate between the other groups, being chiefly medium grey with some lighter or brownish colours on their upper sides. They are, on average, more delicately patterned than the hobbies and, if the hierofalcons are excluded (see below), this group typically contains species with horizontal barring on their undersides. As opposed to the other groups, where tail colour varies much in general but little according to evolutionary relatedness,[note 1] the tails of the large falcons are quite uniformly dark grey with inconspicuous black banding and small, white tips, though this is probably plesiomorphic. These large Falco species feed on mid-sized birds and terrestrial vertebrates.
Very similar to these, and sometimes included therein, are the four or so species of hierofalcon (literally, "hawk-falcons"). They represent taxa with, usually, more phaeomelanins, which impart reddish or brown colors, and generally more strongly patterned plumage reminiscent of hawks. Their undersides have a lengthwise pattern of blotches, lines, or arrowhead marks.
The phylogeny and delimitations of the peregrine and hobby groups are more problematic. Molecular studies have only been conducted on a few species, and the morphologically ambiguous taxa have often been little researched. The morphology of the syrinx, which contributes well to resolving the overall phylogeny of the Falconidae,[33][34] is not very informative in the present genus. Nonetheless, a core group containing the peregrine and Barbary falcons, which, in turn, group with the hierofalcon and the more distant prairie falcon (which was sometimes placed with the hierofalcon, though it is entirely distinct biogeographically), as well as at least most of the "typical" hobbies, are confirmed to be monophyletic as suspected.[27][28]
Given that the American Falco species of today belong to the peregrine group, or are apparently more basal species, the initially most successful evolutionary radiation seemingly was a Holarctic one that originated possibly around central Eurasia or in (northern) Africa. One or several lineages were present in North America by the Early Pliocene at latest.
"Sushkinia" pliocaena from the Early Pliocene of Pavlodar (Kazakhstan) appears to be a falcon of some sort. It might belong in this genus or a closely related one.[36] In any case, the genus name Sushkinia is invalid for this animal because it had already been allocated to a prehistoric dragonfly relative. In 2015 the bird genus was renamed Psushkinia.[44]
Reliable. We go to great lengths to avoid introducing breaking changes, and when we do, they are fully documented and only introduced (in the spirit of SemVer) with a major version increment. The code is rigorously tested with numerous inputs, and we require 100% coverage at all times. Falcon has no dependencies outside the standard library, helping minimize your app's attack surface while avoiding transitive bugs and breaking changes.
Debuggable. Falcon eschews magic. It's easy to tell which inputs lead to which outputs. Unhandled exceptions are never encapsulated or masked. Potentially surprising behaviors, such as automatic request body parsing, are well-documented and disabled by default. Finally, when it comes to the framework itself, we take care to keep logic paths simple and understandable. All this makes it easier to reason about the code and to debug edge cases in large-scale deployments.
Fast. Same hardware, more requests. Falcon turns around requests significantly faster than other popular Python frameworks like Django and Flask. For an extra speed boost, Falcon compiles itself with Cython when available, and also works well with PyPy. Considering a move to another programming language? Benchmark with Falcon+PyPy first!
Flexible. Falcon leaves a lot of decisions and implementation details to you, the API developer. This gives you a lot of freedom to customize and tune your implementation. It also helps you understand your apps at a deeper level, making them easier to tune, debug, and refactor over the long run. Falcon's minimalist design provides space for Python community members to independently innovate on Falcon add-ons and complementary packages.
Please note, however, that this benchmark is by no means comprehensive; it is only meant to provide a rough performance comparison between the given frameworks, and to demonstrate the baseline per-request overhead each framework incurs on an application.
Scenario. The benchmark acts as a WSGI server and performs a GET request directly on each framework's PEP-3333 app. Requests are not sent over the network, since the performance of a given network or web server is not related to the performance of the WSGI frameworks themselves. Regardless, each app parses a route template with a single embedded parameter, reads a query parameter and a header from the request data, sets an x-header on the response, and finally returns a 10 KiB body, randomly generated.
Method. 50,000 iterations were executed per trial (100,000 for the PyPy tests), and the best time was recorded for each framework over 20 trials. The order in which the frameworks were tested was randomized for each trial. Also, garbage collection was enabled as it would be in a production environment, and a full collection was forcefully triggered before each trial. Finally, results were calculated using the Decimal class and rounded to the nearest whole number.
3a8082e126